OSDN Git Service

usb: core: remove flags variable in __usb_hcd_giveback_urb()
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 11 Sep 2018 07:37:12 +0000 (09:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Sep 2018 08:14:47 +0000 (10:14 +0200)
commitd6142b91e9cc249b3aa22c90fade67e2e2d52cdb
tree9611708a1c76f1f5e8b57b8f27d39b94e28cd15d
parent0a6ab90c0a8fc8ece91ad2bf7e3310ebb563b32b
usb: core: remove flags variable in __usb_hcd_giveback_urb()

In commit ed194d1367698 ("usb: core: remove local_irq_save() around
->complete() handler") I removed the only user of the flags variable and
forgot to remove the variable, leading to warning because it is unused
now.
Remove the unused variable.

Fixes: ed194d1367698 ("usb: core: remove local_irq_save() around ->complete() handler")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hcd.c