aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorShraddha Barke <[email protected]>2015-10-14 07:29:19 +0530
committerGreg Kroah-Hartman <[email protected]>2015-10-16 21:31:25 -0700
commit95f840fb5355eda0bf797a2d7b6e684127128cac (patch)
tree6c3f2483b15f44931828a986a2ef87a250dc634c /tools/perf/scripts/python/net_dropmonitor.py
parent784c7d2f0e390bcda734ee4ea8c7289777abf1c6 (diff)
Staging: wilc1000: Remove null check before kfree
kfree on NULL pointer is a no-op. The semantic patch used to find such an instance where NULL check is present before kfree- // <smpl> @@ expression E; @@ - if (E != NULL) { kfree(E); } + kfree(E); @@ expression E; @@ - if (E != NULL) { kfree(E); E = NULL; } + kfree(E); + E = NULL; // </smpl>smpl> Signed-off-by: Shraddha Barke <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions