]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3906828b6a8faae0508b0425813da708a05b6871
tree1b251ab018be0c89a7e6382e1d23f13a25b362fd
parent324d421af170936f7faa428eb42e9671bb49d5d5
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