From: Colin Ian King Date: Tue, 26 Sep 2017 19:17:50 +0000 (+0100) Subject: scsi: libsas: remove unused variable sas_ha X-Git-Tag: v5.15~10029^2~179 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7dad16913b765f2e3ab0cd54b2c4a2f3a5e83e95;p=platform%2Fkernel%2Flinux-starfive.git 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 Acked-by: John Garry Signed-off-by: Martin K. Petersen --- diff --git a/drivers/scsi/hisi_sas/hisi_sas_main.c b/drivers/scsi/hisi_sas/hisi_sas_main.c index 29d6cb3..9e29902 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;