greybus: es2: drop short control-transfer checks
authorJohan Hovold <johan@kernel.org>
Mon, 18 Jan 2021 14:46:29 +0000 (15:46 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Jan 2021 18:20:11 +0000 (19:20 +0100)
commite4240253ac853886e7066e0bb765e2d96e3b1eb6
treefc4d045434444efa09126717a9152ee144d411d6
parent7eecea89e44f64e60f1410483e79a0cab18ad580
greybus: es2: drop short control-transfer checks

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

Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20210118144629.25533-1-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/greybus/es2.c