drivers: usb-misc: sisusbvga: remove dead code
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Wed, 8 Feb 2017 04:01:35 +0000 (22:01 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Feb 2017 06:43:47 +0000 (07:43 +0100)
commit23f378ad3bdb2b7ea9f005a398e77d7f43f24276
tree1ca788d896913c1ec78bd04fc91463bd6869bcd1
parent3d95521c12d84d917d2f7ec3e002d4b0e0ef3c28
drivers: usb-misc: sisusbvga: remove dead code

The condition modex % 16 cannot be true when modex value is equal to 640
The condition du & 0xff cannot be true when du value is equal to 0x1400

Addresses-Coverity-Id: 101163
Addresses-Coverity-Id: 744373
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/sisusbvga/sisusb.c