diff options
| author | James Smart <[email protected]> | 2019-03-12 16:30:04 -0700 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-03-19 12:57:01 -0400 |
| commit | ff6bf89717b0dc7b8dd0934d1c065f29069831e7 (patch) | |
| tree | 44f59a2484bc79142144a3c29b40f2cd1970cac5 /tools/perf/scripts/python | |
| parent | 06f30459027be7c825b2d86af8ae2001a1a35362 (diff) | |
scsi: lpfc: Resolve inconsistent check of hdwq in lpfc_scsi_cmd_iocb_cmpl
A prior patch which added support for non-uniform allocation of MSIX
vectors now causes a smatch complaint:
drivers/scsi/lpfc/lpfc_scsi.c:3674 lpfc_scsi_cmd_iocb_cmpl()
error: we previously assumed 'phba->sli4_hba.hdwq' could be
null (see line 3667)
Resolve by removing the unnecessary check for a NULL hdwq table.
Fixes 6a828b0f6192: ("scsi: lpfc: Support non-uniform allocation of MSIX vectors to hardware queues")
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Dick Kennedy <[email protected]>
Signed-off-by: James Smart <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions