scsi: bnx2i: remove set but not used variable 'cid_num'
authorYueHaibing <yuehaibing@huawei.com>
Mon, 12 Nov 2018 01:54:05 +0000 (01:54 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 22 Nov 2018 03:26:14 +0000 (22:26 -0500)
commit9959376c1b4f024e41371cffa139a533f34b415f
tree5a385df7c47900ada5f9eaf65f5d32a4345ef5f8
parent1794ef2b150dd502bc31cb50ad36c901337b4d0e
scsi: bnx2i: remove set but not used variable 'cid_num'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/scsi/bnx2i/bnx2i_hwi.c: In function 'bnx2i_process_ofld_cmpl':
drivers/scsi/bnx2i/bnx2i_hwi.c:2430:6: warning:
 variable 'cid_num' set but not used [-Wunused-but-set-variable]

It never used since commit
  cf4e6363859d ("[SCSI] bnx2i: Add bnx2i iSCSI driver.")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Nilesh Javali <nilesh.javali@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/bnx2i/bnx2i_hwi.c