Re: [PATCH -next] scsi: lpfc: Remove set but not used variables 'tgtp'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



YueHaibing,

> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/scsi/lpfc/lpfc_debugfs.c: In function 'lpfc_debugfs_nodelist_data':
> drivers/scsi/lpfc/lpfc_debugfs.c:553:29: warning:
>  variable 'tgtp' set but not used [-Wunused-but-set-variable]
>
> It never used since 2b65e18202fd ("scsi: lpfc: NVME Target: Add debugfs support")

Applied to 4.20/scsi-queue. Thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux