mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 22:51:35 +00:00
media: igorplugusb: remove superfluous usb_unlink_urb()
Calling that on yourself while the completion handler is running is a NOP. Remove it. Signed-off-by: Oliver Neukum <oneukum@suse.com> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
parent
2a77459493
commit
5e40290562
@ -110,7 +110,6 @@ static void igorplugusb_callback(struct urb *urb)
|
||||
case -ECONNRESET:
|
||||
case -ENOENT:
|
||||
case -ESHUTDOWN:
|
||||
usb_unlink_urb(urb);
|
||||
return;
|
||||
default:
|
||||
dev_warn(ir->dev, "Error: urb status = %d\n", urb->status);
|
||||
|
Loading…
Reference in New Issue
Block a user