Linux Input/HID development
 help / color / mirror / Atom feed
* [PATCH] Input: xpad - remove unused xpad_init_output intf parameter
@ 2026-05-05  8:08 Tobias Klauser
  0 siblings, 0 replies; only message in thread
From: Tobias Klauser @ 2026-05-05  8:08 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: linux-input

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 <tklauser@distanz.ch>
---
 drivers/input/joystick/xpad.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c
index feb8f368f834..4c5528eb94b3 100644
--- a/drivers/input/joystick/xpad.c
+++ b/drivers/input/joystick/xpad.c
@@ -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;
 
-- 
2.52.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-05-05  8:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-05  8:08 [PATCH] Input: xpad - remove unused xpad_init_output intf parameter Tobias Klauser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox