]> git.baikalelectronics.ru Git - kernel.git/commit
USB: serial: mos7840: drop read-urb check
authorJohan Hovold <johan@kernel.org>
Thu, 7 Nov 2019 13:29:03 +0000 (14:29 +0100)
committerJohan Hovold <johan@kernel.org>
Tue, 12 Nov 2019 08:57:26 +0000 (09:57 +0100)
commitaf1732caf2fab166874d4003626f522a0d28548f
tree3771575e4be1e64fa7fd73dec65cadcc2d4417e4
parentd6e9824052b577c6f65663fc75482b9dc9df91a9
USB: serial: mos7840: drop read-urb check

Drop read-urb check which is always false from completion the callback.

The driver read-urb pointer is set at every open and is never cleared.

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