]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
USB: serial: cp210x: drop short control-transfer checks
authorJohan Hovold <johan@kernel.org>
Mon, 18 Jan 2021 11:13:29 +0000 (12:13 +0100)
committerJohan Hovold <johan@kernel.org>
Mon, 18 Jan 2021 13:24:59 +0000 (14:24 +0100)
commitdc5338fc64b23e37b000d1a29b88dc8209acebf9
treea6bd1fcbfb22e70f3d7de2f035eb2a25dadfaba5
parent03f32d7cb51b62f6cc7fd884d6978fe1a6ad3f8d
USB: serial: cp210x: drop short control-transfer checks

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

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