linux-next: build warning after merge of the scsi-mkp tree

From: Stephen Rothwell
Date: Tue Sep 26 2017 - 00:09:55 EST


Hi Martin,

After merging the scsi-mkp tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

drivers/scsi/hisi_sas/hisi_sas_main.c: In function 'hisi_sas_controller_reset':
drivers/scsi/hisi_sas/hisi_sas_main.c:1049:24: warning: unused variable 'sas_ha' [-Wunused-variable]
struct sas_ha_struct *sas_ha = &hisi_hba->sha;
^

Introduced by commit

042ebd293b86 ("scsi: libsas: kill useless ha_event and do some cleanup")

--
Cheers,
Stephen Rothwell