]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
scsi: csiostor: Mark known unused variable as __always_unused
authorLee Jones <lee.jones@linaro.org>
Thu, 23 Jul 2020 12:24:27 +0000 (13:24 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 25 Jul 2020 02:32:05 +0000 (22:32 -0400)
commit085d46fd22022adcce1c288611f94d7949d59ab4
treef91ba2c47b20e3f6676b37a97d9224984f606ec4
parentc7ccd038b72978810fce4117fe61d651a2e95397
scsi: csiostor: Mark known unused variable as __always_unused

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

 drivers/scsi/csiostor/csio_hw.c: In function ‘csio_hw_get_vpd_params’:
 drivers/scsi/csiostor/csio_hw.c:309:8: warning: variable ‘s’ set but not used [-Wunused-but-set-variable]

Link: https://lore.kernel.org/r/20200723122446.1329773-22-lee.jones@linaro.org
Cc: Arkadiusz Drabczyk <arkadiusz@drabczyk.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/csiostor/csio_hw.c