USB: serial: upd78f0730: drop short control-transfer check
authorJohan Hovold <johan@kernel.org>
Mon, 18 Jan 2021 11:14:22 +0000 (12:14 +0100)
committerJohan Hovold <johan@kernel.org>
Mon, 18 Jan 2021 13:26:32 +0000 (14:26 +0100)
commit2dc0e7c37549038444a5202e028ff5625c764012
tree4c21c97cc8e477895548c11395d40c5c241e5b30
parentf7de9b64265faafe96c2533ddfcc1ad7b2e8080d
USB: serial: upd78f0730: 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/upd78f0730.c