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

From: Stephen Rothwell
Date: Wed Jun 13 2018 - 18:14:05 EST


Hi Martin,

After merging the scsi-fixes tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

drivers/scsi/qla2xxx/qla_target.c: In function 'qlt_schedule_sess_for_deletion':
drivers/scsi/qla2xxx/qla_target.c:1227:22: warning: unused variable 'ha' [-Wunused-variable]
struct qla_hw_data *ha = sess->vha->hw;
^~

Introduced by commit

5b10177e2dd8 ("scsi: qla2xxx: Spinlock recursion in qla_target")

--
Cheers,
Stephen Rothwell

Attachment: pgp11YyCv_ua9.pgp
Description: OpenPGP digital signature