diff options
| author | Dan Carpenter <[email protected]> | 2018-08-23 16:56:33 +0300 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2018-08-30 07:33:55 -0400 |
| commit | 26c724a690a1cd10575365da90b5b4040278a6c5 (patch) | |
| tree | 48864f4dad1d53425c275905a42e9a17b676f840 /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | 165ee6215062f98ac8bf8c62865343cf3306a3c8 (diff) | |
scsi: lpfc: remove an unnecessary NULL check
Smatch complains about this code:
drivers/scsi/lpfc/lpfc_scsi.c:1053 lpfc_get_scsi_buf_s4()
warn: variable dereferenced before check 'lpfc_cmd' (see line 1039)
Fortunately the NULL check isn't required so I have removed it.
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions