aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorJulia Lawall <[email protected]>2014-01-02 17:28:49 +0100
committerDavid S. Miller <[email protected]>2014-01-03 19:35:17 -0500
commit2d4dda781fc1e9c929a1f699119b91eddbcf475c (patch)
treeb44d77b2534ed7d26137b1819e013c34c4743c58 /tools/perf/scripts/python/event_analyzing_sample.py
parentc1ddf295f5183a5189196a8035546842caa2055a (diff)
net: tulip: delete useless tests on netdev_priv
Netdev_priv performs an addition, not a pointer dereference, so it seems quite unlikely that its result would ever be NULL. A semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ statement S; @@ - if (!netdev_priv(...)) S // </smpl> Signed-off-by: Julia Lawall <[email protected]> Acked-by: Grant Grundler <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions