2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 12:43:55 +08:00
linux-next/drivers/scsi/pcmcia
Lee Jones 97a3348342 scsi: pcmcia: nsp_cs: Remove unused variable 'dummy'
There is no need to populate an unused variable, even if the read is
required.

Fixes the following W=1 kernel build warning(s):

 drivers/scsi/pcmcia/nsp_cs.c: In function ‘nsp_cs_message’:
 drivers/scsi/pcmcia/nsp_cs.c:143:2: warning: function ‘nsp_cs_message’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format]
 drivers/scsi/pcmcia/nsp_cs.c: In function ‘nsp_fifo_count’:
 drivers/scsi/pcmcia/nsp_cs.c:692:24: warning: variable ‘dummy’ set but not used [-Wunused-but-set-variable]

Link: https://lore.kernel.org/r/20200707140055.2956235-9-lee.jones@linaro.org
Cc: YOKOTA Hiroshi <yokota@netlab.is.tsukuba.ac.jp>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2020-07-08 01:12:54 -04: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
fdomain_cs.c scsi: fdomain: Add PCMCIA support 2019-06-18 19:46:23 -04:00
Kconfig scsi: docs: convert NinjaSCSI.txt to ReST 2020-03-11 23:08:01 -04:00
Makefile scsi: fdomain: Add PCMCIA support 2019-06-18 19:46:23 -04:00
nsp_cs.c scsi: pcmcia: nsp_cs: Remove unused variable 'dummy' 2020-07-08 01:12:54 -04:00
nsp_cs.h pcmcia: Use module_pcmcia_driver for scsi drivers 2018-10-01 12:15:21 +02:00
nsp_debug.c
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 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 118 2019-05-24 17:39:02 +02:00