Skip to content

Commit cea7991

Browse files
jhovolddtor
authored andcommitted
Input: gtco - drop redundant variable reinit
Drop the second, redundant reinitialisation of the endpoint-descriptor pointer from probe. Signed-off-by: Johan Hovold <[email protected]> Acked-by: Vladis Dronov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent 3563c62 commit cea7991

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/input/tablet/gtco.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -970,8 +970,6 @@ static int gtco_probe(struct usb_interface *usbinterface,
970970
input_dev->dev.parent = &usbinterface->dev;
971971

972972
/* Setup the URB, it will be posted later on open of input device */
973-
endpoint = &usbinterface->cur_altsetting->endpoint[0].desc;
974-
975973
usb_fill_int_urb(gtco->urbinfo,
976974
udev,
977975
usb_rcvintpipe(udev,

0 commit comments

Comments
 (0)