scsi: dpt_i2o: Remove set but not used 'pHba'
authorJason Yan <yanaijie@huawei.com>
Thu, 27 Aug 2020 12:58:12 +0000 (20:58 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 2 Sep 2020 02:15:47 +0000 (22:15 -0400)
commite34ce005a1773ebea09f702e0b4a37283afcf934
treeea36445f13e673f8d9da2cafae7d2269bdeee437
parent9535f2152acec91df0d293e4b0b8c20b618fc44e
scsi: dpt_i2o: Remove set but not used 'pHba'

This addresses the following gcc warning with "make W=1":

drivers/scsi/dpt_i2o.c: In function ‘adpt_slave_configure’:
drivers/scsi/dpt_i2o.c:411:12: warning: variable ‘pHba’ set but not used
[-Wunused-but-set-variable]
  411 |  adpt_hba* pHba;
      |            ^~~~

Link: https://lore.kernel.org/r/20200827125812.427753-1-yanaijie@huawei.com
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/dpt_i2o.c