staging: dgap: fix "if" statement that always evaluates to true
authorDaeseok Youn <daeseok.youn@gmail.com>
Fri, 23 Jan 2015 11:44:28 +0000 (20:44 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Jan 2015 12:08:13 +0000 (20:08 +0800)
commitce5b615bc29273de705188e8a827dd7663069602
tree72bdb55256df47a00530a523c1015198f03b8ab2
parented2084360d040a39be1ac9101b13c6fb0146f323
staging: dgap: fix "if" statement that always evaluates to true

cppcheck warning:
(warnning) Logical disjunction always evaluates to true

Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap.c