diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-05-25 15:42:02 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-06-19 02:46:23 +0300 |
commit | de19212c2890d1bb1e2d0e303affba620b86819b (patch) | |
tree | 89e6d4027df9cb347baeae3a095aa0a758a7390b /drivers/message/fusion | |
parent | dea98ba45a187fd6fa836b070e95a8ba68499bb4 (diff) | |
download | linux-de19212c2890d1bb1e2d0e303affba620b86819b.tar.xz |
scsi: megaraid_sas: remove set but not used variables 'host' and 'wait_time'
Fixes gcc '-Wunused-but-set-variable' warnings:
drivers/scsi/megaraid/megaraid_sas_base.c: In function megasas_suspend:
drivers/scsi/megaraid/megaraid_sas_base.c:7269:20: warning: variable host set but not used [-Wunused-but-set-variable]
drivers/scsi/megaraid/megaraid_sas_base.c: In function megasas_aen_polling:
drivers/scsi/megaraid/megaraid_sas_base.c:8397:15: warning: variable wait_time set but not used [-Wunused-but-set-variable]
'host' never used since introduction in commit 31ea7088974c ("[SCSI]
megaraid_sas: add hibernation support")
'wait_time' never used since commit 11c71cb4ab7c ("megaraid_sas: Do
not allow PCI access during OCR")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Sumit Saxena <sumit.saxena@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/message/fusion')
0 files changed, 0 insertions, 0 deletions