diff options
author | Greg Kroah-Hartman <[email protected]> | 2019-10-11 15:19:19 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2019-10-16 06:07:22 -0700 |
commit | be5767341ce56a6a7adf9df3fd07cf8a0611a5d0 (patch) | |
tree | 5e5258349f28caf0b9467fb1e315489e1bcf13d0 /tools/perf/scripts/python/futex-contention.py | |
parent | 8e5802635f0f9f7329ec8ffdec15479946c99fb1 (diff) |
ntb: ntb_pingpong: no need to check the return value of debugfs calls
There is no need to check the return value of debugfs_create_atomic_t as
nothing happens with the error. Also, the code will never return NULL,
so this check has never caught anything :)
Fix this by removing the check entirely.
Cc: Jon Mason <[email protected]>
Cc: Dave Jiang <[email protected]>
Cc: Allen Hubbe <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions