scsi: libfc: Remove set but not used variable 'disc'
authorYue Haibing <yuehaibing@huawei.com>
Thu, 8 Nov 2018 06:31:21 +0000 (06:31 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 22 Nov 2018 03:12:32 +0000 (22:12 -0500)
commit6920e6a255d5ebd8501693afe9847f0e0ace2b4d
tree931b49cd4ec7b14c8f86e143d1a42981a4251a6a
parentb49d6f7885306ee636d5c1af52170f3069ccf5f7
scsi: libfc: Remove set but not used variable 'disc'

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

drivers/scsi/libfc/fc_rport.c: In function 'fc_rport_recv_flogi_req':
drivers/scsi/libfc/fc_rport.c:866:18: warning:
 variable 'disc' set but not used [-Wunused-but-set-variable]

It no used any more after
commit baa6719f902a ("libfc: Update rport reference counting")

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Reviewed-by: Johannes Thumshirn <jth@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/libfc/fc_rport.c