diff options
| author | Jason Yan <[email protected]> | 2020-09-07 07:45:18 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2020-09-10 02:37:48 +0000 |
| commit | c8d67fbb60859d28d02ae431c5dd5641e3553f49 (patch) | |
| tree | 914747e05743eb7e95ea6b5ee727d90018797243 /drivers/scsi/pmcraid.c | |
| parent | scsi: qla1280: Remove set but not used variable in qla1280_mailbox_command() (diff) | |
| download | kernel-c8d67fbb60859d28d02ae431c5dd5641e3553f49.tar.gz kernel-c8d67fbb60859d28d02ae431c5dd5641e3553f49.zip | |
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/[email protected]
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Jason Yan <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/scsi/pmcraid.c')
0 files changed, 0 insertions, 0 deletions
