Re: [PATCH] lpfc: Remove unnecessary null ndlp check in lpfc_sli_prep_wqe()

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

 



James,

> Smatch had the following warning:
> drivers/scsi/lpfc/lpfc_sli.c:22305 lpfc_sli_prep_wqe() error: we
> previously assumed 'ndlp' could be null (see line 22298)
>
> Remove the unnecessary null check

Applied to 5.19/scsi-staging, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux