Re: [PATCH] snic/vnic_dev: Remove dead store in vnic_dev_discover_res()

From: Martin K. Petersen

Date: Fri May 22 2026 - 23:15:45 EST


On Wed, 29 Apr 2026 12:52:12 +0300, Evgenii Burenchev wrote:

> 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.
>
> [...]

Applied to 7.2/scsi-queue, thanks!

[1/1] snic/vnic_dev: Remove dead store in vnic_dev_discover_res()
https://git.kernel.org/mkp/scsi/c/195254adeddc

--
Martin K. Petersen