diff options
| author | Ruan Jinjie <[email protected]> | 2023-08-17 06:32:19 +0000 |
|---|---|---|
| committer | Jon Mason <[email protected]> | 2023-08-18 13:50:06 +0000 |
| commit | 28e70ed9d0fab935f78b565d9c026585559b86a4 (patch) | |
| tree | f4301cdfc2d79411359f89571e12973a90921480 /tools/perf/scripts/python/stackcollapse.py | |
| parent | NTB: ntb_tool: Switch to memdup_user_nul() helper (diff) | |
| download | kernel-28e70ed9d0fab935f78b565d9c026585559b86a4.tar.gz kernel-28e70ed9d0fab935f78b565d9c026585559b86a4.zip | |
ntb: amd: Drop unnecessary error check for debugfs_create_dir
This patch removes the error checking for debugfs_create_dir in
ntb_hw_amd.c. This is because the DebugFS kernel API is developed
in a way that the caller can safely ignore the errors that
occur during the creation of DebugFS nodes. The debugfs APIs have
a IS_ERR() judge in start_creating() which can handle it
gracefully. so these checks are unnecessary.
Signed-off-by: Ruan Jinjie <[email protected]>
Acked-by: Sanjay R Mehta <[email protected]>
Signed-off-by: Jon Mason <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
