Thank you @ptrblck for the answer! Good to hear that there would not be a significant difference in terms of performance.
I also agree with you and would avoid passing unused parameter to the optimizer.