aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2017-03-23 13:41:42 +0300
committerMartin K. Petersen <[email protected]>2017-03-27 21:55:14 -0400
commit03b1a06203a1f283ad8a20dce78f0f5f17eaeb88 (patch)
treeb34f4746803ce059f30c053d612f13aa53f17469 /tools/perf/scripts/python
parent16a20b52d1b0c900ea2e7363cf6e10267a445002 (diff)
scsi: osd_uld: remove an unneeded NULL check
We don't call the remove() function unless probe() succeeds so "oud" can't be NULL here. Plus, if it were NULL, we dereference it on the next line so it would crash anyway. [mkp: applied by hand] Signed-off-by: Dan Carpenter <[email protected]> Acked-by: Boaz Harrosh <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions