I don’t think it would be slower, as the game already passed that parameter, you just take or don’t take it. If you don’t use it at all, there’s no reason to even take it, so you shouldn’t. But no, it doesn’t affect performance
Any difference is going to be negligible, behind the scenes the function still receives the value, it’s just discarded instantaneously, as opposed to it being garbage collected at the end of the function call’s life-cycle.