Input: xpad - remove unused xpad_init_output intf parameter
Subsystems (2)
PATCH 1/1 Input: xpad - remove unused xpad_init_output intf parameter
The intf parameter to xpad_init_output is unused since commit c01b5e7464f0 ("Input: xpad - don't depend on endpoint order"). Remove it.
Signed-off-by Tobias Klauser <[email protected]>
--- drivers/input/joystick/xpad.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/input/joystick/xpad.c +3 -3
@@ -1388,8 +1388,8 @@ static void xpad_irq_out(struct urb *urb) } } -static int xpad_init_output (struct usb_interface *intf,struct usb_xpad *xpad, -struct usb_endpoint_descriptor *ep_irq_out) +static int xpad_init_output (struct usb_xpad *xpad, +struct usb_endpoint_descriptor *ep_irq_out) {int error;
@@ -2136,7 +2136,7 @@ static int xpad_probe(struct usb_interface *intf, const struct usb_device_id *id goto err_free_in_urb; } - error =xpad_init_output (intf, xpad, ep_irq_out); + error =xpad_init_output (xpad, ep_irq_out);if (error) goto err_free_in_urb;
Signature · 1 line
2.52.0