aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2019-06-13 13:44:55 +0200
committerDaniel Vetter <[email protected]>2019-06-13 15:10:01 +0200
commit90e73491d5db182407ce6b44bf4c88e7fbe706c1 (patch)
treed1d9f75ec4a771b5d648aa736c27137e53374f4a /scripts/bpf_helpers_doc.py
parent921721738f4994b54f916f9a3bdd5dfdf26f753c (diff)
vga_switcheroo: no need to check return value of debugfs_create functions
When calling debugfs functions, there is no need to ever check the return value. The function can work or not, but the code logic should never do something different based on this. Also, because there is no need to save the file dentry, remove the local variable and just recursively delete the whole directory when shutting down. Cc: Lukas Wunner <[email protected]> Cc: David Airlie <[email protected]> Cc: Daniel Vetter <[email protected]> Cc: Maarten Lankhorst <[email protected]> Cc: Maxime Ripard <[email protected]> Cc: Sean Paul <[email protected]> Cc: [email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions