diff options
author | James Smart <[email protected]> | 2022-04-26 11:13:15 -0700 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2022-04-26 22:24:27 -0400 |
commit | 3d1d34ec1fbcab2d77e3733ff385a074fdf2d60c (patch) | |
tree | 8d8560e966902b2fdab450249235d9cb20a82389 /tools/perf/scripts/python/netdev-times.py | |
parent | 75b8715e20a20bc7b4844835e4035543a2674200 (diff) |
scsi: lpfc: Remove unnecessary null ndlp check in lpfc_sli_prep_wqe()
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.
Link: https://lore.kernel.org/r/[email protected]
Fixes: d51cf5bd926c ("scsi: lpfc: Fix field overload in lpfc_iocbq data structure")
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: James Smart <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions