summaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2020-01-10 21:01:07 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2020-01-10 23:43:00 +0100
commitcea7991144754044c540bf9f974550ea5fec500c (patch)
tree79a61e8833b9f00fffab2eee8e9722523409896b /drivers/input
parentInput: gtco - fix extra-descriptor debug message (diff)
downloadlinux-cea7991144754044c540bf9f974550ea5fec500c.tar.xz
linux-cea7991144754044c540bf9f974550ea5fec500c.zip
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>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/tablet/gtco.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/input/tablet/gtco.c b/drivers/input/tablet/gtco.c
index eef5946a6ba4..96d65575f75a 100644
--- a/drivers/input/tablet/gtco.c
+++ b/drivers/input/tablet/gtco.c
@@ -970,8 +970,6 @@ static int gtco_probe(struct usb_interface *usbinterface,
input_dev->dev.parent = &usbinterface->dev;
/* Setup the URB, it will be posted later on open of input device */
- endpoint = &usbinterface->cur_altsetting->endpoint[0].desc;
-
usb_fill_int_urb(gtco->urbinfo,
udev,
usb_rcvintpipe(udev,