aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorJulia Lawall <[email protected]>2015-12-19 21:48:59 +0100
committerDoug Ledford <[email protected]>2015-12-23 10:50:58 -0500
commit59f65f495d0defb62032422d1adec841fc657213 (patch)
tree7f10935a94995d856508d741765c4d35e3882bdd /tools/perf/scripts/python/call-graph-from-postgresql.py
parent96390f62aaa79c2cc6a2054d6d48e7610966777d (diff)
IB/usnic: delete unneeded IS_ERR test
kzalloc doesn't return ERR_PTR, so there is no need to test for it. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression x,e; @@ * x = kzalloc(...) ... when != x = e * IS_ERR_OR_NULL(x) // </smpl> Signed-off-by: Julia Lawall <[email protected]> Reviewed-by: Dave Goodell <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions