summaryrefslogtreecommitdiff
path: root/drivers/scsi/hisi_sas
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-09-26 22:17:50 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2017-09-28 04:50:00 +0300
commit7dad16913b765f2e3ab0cd54b2c4a2f3a5e83e95 (patch)
tree788db857134e07da5cd05b4fe4d1d0c47fc03d1b /drivers/scsi/hisi_sas
parent83dc7e3dea76b77b6bcc289eb86c5b5c145e8dff (diff)
downloadlinux-7dad16913b765f2e3ab0cd54b2c4a2f3a5e83e95.tar.xz
scsi: libsas: remove unused variable sas_ha
Remove unused variable sas_ha to clean up build warning "unused variable sas_ha [-Wunused-variable]" Fixes: 042ebd293b86 ("scsi: libsas: kill useless ha_event and do some cleanup") Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: John Garry <john.garry@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/hisi_sas')
-rw-r--r--drivers/scsi/hisi_sas/hisi_sas_main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/hisi_sas/hisi_sas_main.c b/drivers/scsi/hisi_sas/hisi_sas_main.c
index 29d6cb39299c..9e2990268f00 100644
--- a/drivers/scsi/hisi_sas/hisi_sas_main.c
+++ b/drivers/scsi/hisi_sas/hisi_sas_main.c
@@ -1046,7 +1046,6 @@ static void hisi_sas_rescan_topology(struct hisi_hba *hisi_hba, u32 old_state,
static int hisi_sas_controller_reset(struct hisi_hba *hisi_hba)
{
- struct sas_ha_struct *sas_ha = &hisi_hba->sha;
struct device *dev = hisi_hba->dev;
struct Scsi_Host *shost = hisi_hba->shost;
u32 old_state, state;