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 <johan@kernel.org> Acked-by: Vladis Dronov <vdronov@redhat.com> Link: https://lore.kernel.org/r/20191210113737.4016-7-johan@kernel.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
1 parent 3563c62 commit cea7991

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

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)