USB: mos7840: remove redundant condition
authorGeyslan G. Bem <geyslan@gmail.com>
Fri, 11 Dec 2015 09:46:42 +0000 (06:46 -0300)
committerJohan Hovold <johan@kernel.org>
Fri, 11 Dec 2015 10:05:49 +0000 (11:05 +0100)
commit365a0442f6def11b0b3012778d6a838c7a8e6912
treeef2a10d79da345741addadb4d0f706fb850f2e34
parent232dce89b5b00078fcb633322edadf8badae326a
USB: mos7840: remove redundant condition

This patch removes redundant condition.

 (length && length > 5) can be reduced to a single evaluation.

Tested by compilation only.
Caught by cppcheck.

Signed-off-by: Geyslan G. Bem <geyslan@gmail.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/mos7840.c