aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2021-02-16 16:04:10 +0100
committerGreg Kroah-Hartman <[email protected]>2021-03-10 09:21:02 +0100
commitfb11de92ac6e4af0b22a79b93602b175603cd30a (patch)
tree90acece15a7b79e6e1416426e17ca3fd511a396d /tools/perf/scripts/python/futex-contention.py
parenta38fd8748464831584a19438cbb3082b5a2dab15 (diff)
virtio_console: remove pointless check for debugfs_create_dir()
It is impossible for debugfs_create_dir() to return NULL, so checking for it gives people a false sense that they actually are doing something if an error occurs. As there is no need to ever change kernel logic if debugfs is working "properly" or not, there is no need to check the return value of debugfs calls, so remove the checks here as they will never be triggered and are wrong. Cc: Amit Shah <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: [email protected] Cc: [email protected] Reviewed-by: Amit Shah <[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