Files
erofs-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 <[email protected]>
Acked-by: Narsimhulu Musini <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Martin K. Petersen <[email protected]>
2026-05-14 21:33:17 -04:00
..
…
…
2025-11-19 12:30:11 +01:00
…
…
2025-11-19 12:30:11 +01:00
…
…
…
…