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)
commit232dce89b5b00078fcb633322edadf8badae326a
treed4dd54c2deabaed6f4b844c28a28f19ba5d3b20d
parent6f923a0134d9868a71db19cca1fae551a27b46f5
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
This page took 0.0252830000000001 seconds and 5 git commands to generate.