]> git.baikalelectronics.ru Git - kernel.git/commit
USB: io_edgeport: remove redundant conditions
authorGeyslan G. Bem <geyslan@gmail.com>
Fri, 11 Dec 2015 09:46:41 +0000 (06:46 -0300)
committerJohan Hovold <johan@kernel.org>
Fri, 11 Dec 2015 10:05:20 +0000 (11:05 +0100)
commitad08d75d8d41cda640c16838a01c8b58b5c348b7
treed4dd54c2deabaed6f4b844c28a28f19ba5d3b20d
parentc0611ae7cd2cf565c5ddf153f590cd21ec8dac10
USB: io_edgeport: remove redundant conditions

This patch removes redundant conditions.

 (!A || (A && B)) is the same as (!A || B).

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/io_edgeport.c