]> asedeno.scripts.mit.edu Git - linux.git/commit
USB: serial: mos7840: drop redundant urb context check
authorJohan Hovold <johan@kernel.org>
Thu, 7 Nov 2019 13:28:58 +0000 (14:28 +0100)
committerJohan Hovold <johan@kernel.org>
Tue, 12 Nov 2019 08:56:58 +0000 (09:56 +0100)
commit3ec9fb6f385461923b77de6072403e97d2efe01b
tree009ea10c3aadc9ada97270d9353f46540289b645
parent7183192196a63e265254631ca53984e6c7899c3c
USB: serial: mos7840: drop redundant urb context check

The bulk-in URB context is set to the driver-data struct at open and is
never cleared so drop the redundant check in the completion callback.

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/mos7840.c