Skip to content

Commit d395c9a

Browse files
committed
USB: serial: metro-usb: drop redundant URB unlink
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 <[email protected]> Signed-off-by: Johan Hovold <[email protected]>
1 parent 965bbef commit d395c9a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/usb/serial/metro-usb.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ static void metrousb_cleanup(struct usb_serial_port *port)
165165
{
166166
dev_dbg(&port->dev, "%s\n", __func__);
167167

168-
usb_unlink_urb(port->interrupt_in_urb);
169168
usb_kill_urb(port->interrupt_in_urb);
170169

171170
metrousb_send_unidirectional_cmd(UNI_CMD_CLOSE, port);

0 commit comments

Comments
 (0)