]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
scsi: hisi_sas: remove set but not used variable 'irq_value'
authorzhengbin <zhengbin13@huawei.com>
Thu, 22 Aug 2019 14:20:47 +0000 (22:20 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 29 Aug 2019 22:01:58 +0000 (18:01 -0400)
commit328bc6debf3dcaf8859dd1323882e8e24ec6e3f8
tree72b65f15d96d1025978b76e42d6201673dd4d35c
parent8dc8d29a00e29c679f027102fb9c6709347ca8ca
scsi: hisi_sas: remove set but not used variable 'irq_value'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/scsi/hisi_sas/hisi_sas_v1_hw.c: In function cq_interrupt_v1_hw:
drivers/scsi/hisi_sas/hisi_sas_v1_hw.c:1542:6: warning: variable irq_value set but not used [-Wunused-but-set-variable]

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Acked-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_v1_hw.c