projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a77459
)
media: igorplugusb: remove superfluous usb_unlink_urb()
author
Oliver Neukum
<oneukum@suse.com>
Thu, 12 May 2022 12:38:49 +0000
(13:38 +0100)
committer
Mauro Carvalho Chehab
<mchehab@kernel.org>
Mon, 20 Jun 2022 09:30:33 +0000
(10:30 +0100)
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>
drivers/media/rc/igorplugusb.c
patch
|
blob
|
history
diff --git
a/drivers/media/rc/igorplugusb.c
b/drivers/media/rc/igorplugusb.c
index
b224584
..
12ee5dd
100644
(file)
--- a/
drivers/media/rc/igorplugusb.c
+++ b/
drivers/media/rc/igorplugusb.c
@@
-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);