aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorThorsten Blum <[email protected]>2024-09-01 18:19:13 +0200
committerAnna Schumaker <[email protected]>2024-09-23 15:03:12 -0400
commite343678ee990912a132e94236fe028efe78696b0 (patch)
tree24ebff1419c99b02a41e83146422f8a449019154 /tools/perf/scripts/python/bin/stackcollapse-record
parentbb8e4ce500cb09950c2b51a3be0e94e337a215aa (diff)
nfs: Remove unnecessary NULL check before kfree()
Since kfree() already checks if its argument is NULL, an additional check before calling kfree() is unnecessary and can be removed. Remove it and thus also the following Coccinelle/coccicheck warning reported by ifnullfree.cocci: WARNING: NULL check before some freeing functions is not needed Reviewed-by: Benjamin Coddington <[email protected]> Signed-off-by: Thorsten Blum <[email protected]> Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions