aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorDoug Ledford <[email protected]>2018-01-31 11:13:07 -0500
committerDoug Ledford <[email protected]>2018-01-31 16:19:50 -0500
commit589ccd8b0404281ebc84fe9a9ae51ddbc6d1a8c1 (patch)
treeb191b341f430df506d25e4daf3f879202395cb14 /tools/perf/scripts/python/intel-pt-events.py
parente7996a9a77fc669387da43ff4823b91cc4872bd0 (diff)
RDMA/bnxt_re: Fix static checker warning
If there is ever any error while creating srq->umem, we return that error, we don't store it in srq->umem, so any check of srq->umem for IS_ERR is pointless. Further, checking udata is unnecessary as srq->umem is always either NULL or valid, without respect to udata. Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions