scsi: pm8001: remove set but not used variables 'param, sas_ha'
authorYueHaibing <yuehaibing@huawei.com>
Sat, 23 Mar 2019 02:15:59 +0000 (02:15 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 26 Mar 2019 02:20:52 +0000 (22:20 -0400)
commita4b207dea9783bbf60af03d6f2c8080b0cee0543
tree735dc6b13ec74ab3bc3d57be8235f4da87590645
parent608f729c31d4caf52216ea00d20092a80959256d
scsi: pm8001: remove set but not used variables 'param, sas_ha'

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

drivers/scsi/pm8001/pm8001_hwi.c: In function 'mpi_smp_completion':
drivers/scsi/pm8001/pm8001_hwi.c:2901:6: warning:
 variable 'param' set but not used [-Wunused-but-set-variable]

drivers/scsi/pm8001/pm8001_hwi.c: In function 'pm8001_bytes_dmaed':
drivers/scsi/pm8001/pm8001_hwi.c:3247:24: warning:
 variable 'sas_ha' set but not used [-Wunused-but-set-variable]

They're never used since introduction, so can be removed.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Jack Wang <jinpu.wang@cloud.ionos.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/pm8001/pm8001_hwi.c