diff mbox series

[PATCHv2,4/4] igorplugusb: remove superfluous usb_unlink_urb()

Message ID 20220512123723.25815-4-oneukum@suse.com (mailing list archive)
State New, archived
Headers show
Series [PATCHv2,1/4] igorplugusb: respect DMA coherency | expand

Commit Message

Oliver Neukum May 12, 2022, 12:37 p.m. UTC
Calling that on yourself while the completion handler
is running is a NOP. Remove it.

v2: Resinding series due to omitting first patch
Signed-off-by: Oliver Neukum <oneukum@suse.com>
---
 drivers/media/rc/igorplugusb.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

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);