YueHaibing, > From: Yue Haibing <yuehaibing@xxxxxxxxxx> > > 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") ^^^ Please run checkpatch. Fixed it up and applied to 4.21/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering