USB: serial: mxuport: drop short control-transfer check
authorJohan Hovold <johan@kernel.org>
Mon, 18 Jan 2021 11:14:21 +0000 (12:14 +0100)
committerJohan Hovold <johan@kernel.org>
Mon, 18 Jan 2021 13:26:14 +0000 (14:26 +0100)
commitf7de9b64265faafe96c2533ddfcc1ad7b2e8080d
tree56363730f60318444ab1245fec8f37f043b84907
parent90fa41ee4a671d678fcd2c3f0ffdcaa10a1b080b
USB: serial: mxuport: drop short control-transfer check

There's no need to check for short control transfers when sending data
so remove the redundant sanity check.

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