diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-01-23 22:16:57 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-25 10:06:25 +0100 |
commit | ac626ff960624d81442a3ec4a3e71a9e929e98ae (patch) | |
tree | 4bdad52966f3f77f26f78f35524f15cf35a11f97 /drivers/scsi/ufs/ufs.h | |
parent | 9997ab35f4284ea5bd07768797929d1d646064c8 (diff) | |
download | linux-ac626ff960624d81442a3ec4a3e71a9e929e98ae.tar.gz linux-ac626ff960624d81442a3ec4a3e71a9e929e98ae.tar.bz2 linux-ac626ff960624d81442a3ec4a3e71a9e929e98ae.zip |
usb: ftdi-elan: Fix if == else warnings in ftdi_elan_respond_engine
Fixes the following coccinelle warning:
./drivers/usb/misc/ftdi-elan.c:972:10-12: WARNING: possible condition with no effect (if == else)
./drivers/usb/misc/ftdi-elan.c:983:9-11: WARNING: possible condition with no effect (if == else)
./drivers/usb/misc/ftdi-elan.c:2052:11-13: WARNING: possible condition with no effect (if == else)
All these else/if branches just do the same thing actually as the last else branch,
So it can be merged into the last branch.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/scsi/ufs/ufs.h')
0 files changed, 0 insertions, 0 deletions