summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorJason Yan <yanaijie@huawei.com>2020-09-07 15:45:18 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2020-09-09 22:37:48 -0400
commitc8d67fbb60859d28d02ae431c5dd5641e3553f49 (patch)
tree914747e05743eb7e95ea6b5ee727d90018797243 /usr
parentbf70bf28bf874c65001951bb955292a37c930e49 (diff)
downloadlinux-c8d67fbb60859d28d02ae431c5dd5641e3553f49.tar.bz2
scsi: qla1280: Remove set but not used variable in qla1280_status_entry()
This addresses the following gcc warning with "make W=1": drivers/scsi/qla1280.c: In function ‘qla1280_status_entry’: drivers/scsi/qla1280.c:3607:28: warning: variable ‘lun’ set but not used [-Wunused-but-set-variable] 3607 | unsigned int bus, target, lun; | ^~~ drivers/scsi/qla1280.c:3607:20: warning: variable ‘target’ set but not used [-Wunused-but-set-variable] 3607 | unsigned int bus, target, lun; | ^~~~~~ drivers/scsi/qla1280.c:3607:15: warning: variable ‘bus’ set but not used [-Wunused-but-set-variable] 3607 | unsigned int bus, target, lun; | ^~~ Link: https://lore.kernel.org/r/20200907074518.2326360-5-yanaijie@huawei.com Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Jason Yan <yanaijie@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions