projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3563c62
)
Input: gtco - drop redundant variable reinit
author
Johan Hovold
<johan@kernel.org>
Fri, 10 Jan 2020 20:01:07 +0000
(12:01 -0800)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Fri, 10 Jan 2020 22:43:00 +0000
(14:43 -0800)
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>
drivers/input/tablet/gtco.c
patch
|
blob
|
history
diff --git
a/drivers/input/tablet/gtco.c
b/drivers/input/tablet/gtco.c
index eef5946a6ba494eaa52ca5759fb57e3e92d05212..96d65575f75a321b4576dbc646deea424f167a2f 100644
(file)
--- 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,