diff options
author | YueHaibing <yuehaibing@huawei.com> | 2018-10-12 12:36:23 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-10-17 00:13:59 +0200 |
commit | 242b4a39be7364979cbccf5bc446d8db45cb2014 (patch) | |
tree | de936bd9e9c3fa296fdc6e4e0409c4f0aa420150 /drivers/scsi/qla2xxx | |
parent | scsi: megaraid_sas: fix a missing-check bug (diff) | |
download | linux-242b4a39be7364979cbccf5bc446d8db45cb2014.tar.xz linux-242b4a39be7364979cbccf5bc446d8db45cb2014.zip |
scsi: arcmsr: Remove set but not used variables 'id, lun'
Fixes gcc '-Wunused-but-set-variable' warning:
drivers/scsi/arcmsr/arcmsr_hba.c: In function 'arcmsr_drain_donequeue':
drivers/scsi/arcmsr/arcmsr_hba.c:1320:10: warning:
variable 'lun' set but not used [-Wunused-but-set-variable]
drivers/scsi/arcmsr/arcmsr_hba.c:1320:6: warning:
variable 'id' set but not used [-Wunused-but-set-variable]
Never used since introduction in commit ae52e7f09ff5 ("arcmsr: Support 1024 scatter-gather list entries and improve AP while FW trapped and behaviors of EHs").
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qla2xxx')
0 files changed, 0 insertions, 0 deletions