OSDN Git Service

USB: legousbtower: drop redundant interrupt-in running flag
authorJohan Hovold <johan@kernel.org>
Tue, 5 Nov 2019 08:41:44 +0000 (09:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Nov 2019 10:17:51 +0000 (11:17 +0100)
commit728fcd55e9ac3c7058949d78a443bedc7251b320
tree1b251ab018be0c89a7e6382e1d23f13a25b362fd
parent835bd2b5672b632b7aedf29e48e3453c182a1b9a
USB: legousbtower: drop redundant interrupt-in running flag

Drop the redundant interrupt-in-running flag, which tried to keep track
of when the interrupt-in URB was in flight. This isn't needed since we
can stop the URB unconditionally in tower_abort_transfers() and the URB
can not be submitted while usb_kill_urb() is running anyway.

Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20191105084152.16322-7-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/legousbtower.c