On 2018/11/22 11:15, Martin K. Petersen wrote: > > 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. Sorry for this, I will remember to do it next time. >