summaryrefslogtreecommitdiff
path: root/drivers/media/rc
diff options
context:
space:
mode:
authorOliver Neukum <oneukum@suse.com>2022-05-12 15:38:49 +0300
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-06-20 12:30:33 +0300
commit5e4029056263f65a157eaee75c9306cd8254f567 (patch)
treeca5251c91cf7d5a6cd4f320b7f919be9aa8715e6 /drivers/media/rc
parent2a7745949386e275ced3b38410e9f174447949df (diff)
downloadlinux-5e4029056263f65a157eaee75c9306cd8254f567.tar.xz
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>
Diffstat (limited to 'drivers/media/rc')
-rw-r--r--drivers/media/rc/igorplugusb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/rc/igorplugusb.c b/drivers/media/rc/igorplugusb.c
index b2245849f7aa..12ee5dd0a61a 100644
--- 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);