summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorSimran Singhal <singhalsimran0@gmail.com>2020-03-26 16:28:23 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-03-26 17:47:26 +0300
commitb67b7b0465ff9cf89c11dd383d2888b29531f096 (patch)
treec449136411bd2e4a503d1fbe86324c174c8d9e5f /tools/perf/scripts/python/check-perf-trace.py
parent1879d30ede2f778a8d9f147a32fc5c9f5bb90b44 (diff)
downloadlinux-b67b7b0465ff9cf89c11dd383d2888b29531f096.tar.xz
staging: rtl8723bs: hal: Remove NULL check before kfree
NULL check before kfree is unnecessary so remove it. The following Coccinelle script was used to detect this: @@ expression E; @@ - if (E != NULL) { kfree(E); } + kfree(E); @@ expression E; @@ - if (E != NULL) { kfree(E); E = NULL; } + kfree(E); + E = NULL; Signed-off-by: Simran Singhal <singhalsimran0@gmail.com> Link: https://lore.kernel.org/r/20200326132823.GA18625@simran-Inspiron-5558 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions