summaryrefslogtreecommitdiff
path: root/drivers/scsi/libfc/fc_disc.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2020-07-07 17:00:53 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2020-07-08 08:12:54 +0300
commit97a33483425d96b7f877d86e0350fd476ec1aeb9 (patch)
treec7f8829ad25b19c019cb17ddb114caf6e15cc606 /drivers/scsi/libfc/fc_disc.c
parentaf0b55d06004a5dbe8aa81645783b89f4eaccca7 (diff)
downloadlinux-97a33483425d96b7f877d86e0350fd476ec1aeb9.tar.xz
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>
Diffstat (limited to 'drivers/scsi/libfc/fc_disc.c')
0 files changed, 0 insertions, 0 deletions