projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
965bbef
)
USB: serial: metro-usb: drop redundant URB unlink
author
Johan Hovold
<johan@kernel.org>
Wed, 8 Feb 2017 12:49:17 +0000
(13:49 +0100)
committer
Johan Hovold
<johan@kernel.org>
Wed, 8 Feb 2017 18:27:52 +0000
(19:27 +0100)
Drop redundant URB unlink as there's no need to unlink an URB which is
about to be killed synchronously.
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/metro-usb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/serial/metro-usb.c
b/drivers/usb/serial/metro-usb.c
index 4f7cd30b5424c235394c5b020e554b6bdc9136d4..b0c7746438df6cf505e313a7f26a9011817fbe5d 100644
(file)
--- a/
drivers/usb/serial/metro-usb.c
+++ b/
drivers/usb/serial/metro-usb.c
@@
-165,7
+165,6
@@
static void metrousb_cleanup(struct usb_serial_port *port)
{
dev_dbg(&port->dev, "%s\n", __func__);
- usb_unlink_urb(port->interrupt_in_urb);
usb_kill_urb(port->interrupt_in_urb);
metrousb_send_unidirectional_cmd(UNI_CMD_CLOSE, port);