linux/drivers/scsi/snic
Evgenii Burenchev 195254aded scsi: snic: vnic_dev: Remove dead store in vnic_dev_discover_res()
The assignment 'len = count' for RES_TYPE_INTR_PBA_LEGACY,
RES_TYPE_DEVCMD, and RES_TYPE_DEVCMD2 cases is never used.

Drop the unused assignments to fix the following static analyzer
warning.

No functional change.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Signed-off-by: Evgenii Burenchev <evg28bur@yandex.ru>
Acked-by: Narsimhulu Musini <nmusini@cisco.com>
Link: https://patch.msgid.link/20260429095212.11251-1-evg28bur@yandex.ru
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2026-05-14 21:33:17 -04:00
..
cq_desc.h
cq_enet_desc.h
Makefile
snic_attrs.c scsi: snic: Convert sprintf() family to sysfs_emit() family 2024-04-08 22:04:32 -04:00
snic_ctl.c
snic_debugfs.c scsi: snic: Switch to use %ptSp 2025-11-19 12:30:11 +01:00
snic_disc.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
snic_disc.h
snic_fwint.h
snic_io.c
snic_io.h
snic_isr.c
snic_main.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
snic_res.c
snic_res.h
snic_scsi.c scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
snic_stats.h
snic_trc.c scsi: snic: Switch to use %ptSp 2025-11-19 12:30:11 +01:00
snic_trc.h
snic.h scsi: Change the return type of the .queuecommand() callback 2026-01-23 21:32:34 -05:00
vnic_cq_fw.h
vnic_cq.c
vnic_cq.h
vnic_dev.c scsi: snic: vnic_dev: Remove dead store in vnic_dev_discover_res() 2026-05-14 21:33:17 -04:00
vnic_dev.h
vnic_devcmd.h
vnic_intr.c
vnic_intr.h
vnic_resource.h
vnic_snic.h
vnic_stats.h
vnic_wq.c
vnic_wq.h
wq_enet_desc.h