aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2018-03-30 00:05:23 +0200
committerJens Axboe <[email protected]>2018-03-29 17:29:09 -0600
commit5565b0ca50b5b82e0439f6e4dc7fbb122cd0b025 (patch)
tree9f925c9829dbf3c234249e9e448ed7523b066899 /tools/perf/scripts/python/call-graph-from-sql.py
parent9156f360a77f9b975645a66af5ae8f7f68eccded (diff)
lightnvm: pblk: remove some unnecessary NULL checks
Smatch complains that flush_workqueue() dereferences the work queue pointer but then we check if it's NULL on the next line when it's too late. These NULL checks can be removed because the module won't load if we can't allocate the work queues. Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Matias Bjørling <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions