aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRuan Jinjie <[email protected]>2023-08-17 15:30:17 +0800
committerJakub Kicinski <[email protected]>2023-08-18 15:31:46 -0700
commitee09e9deefac842a66cbbd39fd2f03aff6e2a656 (patch)
tree1ae1efeb557ac8203b79b9a971204221fefabb56 /tools/perf/scripts/python
parent2f48b1d854e853b243fcd7e4f3f11d6ab5431bd7 (diff)
sky2: Remove redundant NULL check for debugfs_create_dir
Since debugfs_create_dir() returns ERR_PTR, IS_ERR() is enough to check whether the directory is successfully created. So remove the redundant NULL check. Signed-off-by: Ruan Jinjie <[email protected]> Reviewed-by: Leon Romanovsky <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions