aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBhumika Goyal <[email protected]>2016-02-12 20:07:54 +0530
committerGreg Kroah-Hartman <[email protected]>2016-02-14 16:21:15 -0800
commitda58688fb02100c1275d15213d01c06565933e14 (patch)
tree1690157af0e89e6a84c03e8a4368d620d241bbca /tools/perf/scripts/python
parentacdd1b8e681405beeb1f73333947fd5a42b871e9 (diff)
Staging: lustre: llite: Remove NULL check before kfree
NULL check before kfree is unnecessary so remove it. Semantic patch used: // <smpl> @@ expression E; @@ - if (E != NULL) { kfree(E); } + kfree(E); @@ expression E; @@ - if (E != NULL) { kfree(E); E = NULL; } + kfree(E); + E = NULL; // </smpl> Signed-off-by: Bhumika Goyal <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions