2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 12:14:01 +08:00
linux-next/drivers/scsi/pcmcia
Nathan Chancellor 7e1c99e5c1 scsi: pcmcia: nsp_cs: Remove unnecessary parentheses
Clang warns:

drivers/scsi/pcmcia/nsp_cs.c:1137:27: warning: equality comparison with
extraneous parentheses [-Wparentheses-equality]
                if ((tmpSC->SCp.Message == MSG_COMMAND_COMPLETE)) {
                     ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
drivers/scsi/pcmcia/nsp_cs.c:1137:27: note: remove extraneous
parentheses around the comparison to silence this warning
                if ((tmpSC->SCp.Message == MSG_COMMAND_COMPLETE)) {
                    ~                   ^                      ~
drivers/scsi/pcmcia/nsp_cs.c:1137:27: note: use '=' to turn this
equality comparison into an assignment
                if ((tmpSC->SCp.Message == MSG_COMMAND_COMPLETE)) {
                                        ^~
                                        =
1 warning generated.

Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2019-01-29 01:28:49 -05:00
..
aha152x_core.c scsi: aha152x: rename the PCMCIA define 2018-11-02 00:15:23 +09:00
aha152x_stub.c pcmcia: Use module_pcmcia_driver for scsi drivers 2018-10-01 12:15:21 +02:00
Kconfig scsi: remove the fdomain and fdomain_cs drivers 2018-03-19 22:54:47 -04:00
Makefile scsi: prefix header search paths with $(srctree)/ 2019-01-29 01:22:51 -05:00
nsp_cs.c scsi: pcmcia: nsp_cs: Remove unnecessary parentheses 2019-01-29 01:28:49 -05:00
nsp_cs.h pcmcia: Use module_pcmcia_driver for scsi drivers 2018-10-01 12:15:21 +02:00
nsp_debug.c treewide: fix a few typos in comments 2011-05-10 10:16:21 +02:00
nsp_io.h
nsp_message.c
qlogic_stub.c scsi: remove the use_clustering flag 2018-12-18 23:19:21 -05:00
sym53c500_cs.c scsi: flip the default on use_clustering 2018-12-18 23:13:12 -05:00