From: Oliver Neukum Date: Thu, 12 May 2022 12:38:49 +0000 (+0100) Subject: media: igorplugusb: remove superfluous usb_unlink_urb() X-Git-Tag: v6.1-rc5~729^2~407 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5e4029056263f65a157eaee75c9306cd8254f567;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Sean Young Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/rc/igorplugusb.c b/drivers/media/rc/igorplugusb.c index b224584..12ee5dd 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);