aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/dsa_loop.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2019-06-13 11:44:55 +0000
committerDaniel Vetter <[email protected]>2019-06-13 13:10:01 +0000
commit90e73491d5db182407ce6b44bf4c88e7fbe706c1 (patch)
treed1d9f75ec4a771b5d648aa736c27137e53374f4a /drivers/net/dsa/dsa_loop.c
parentdrm: Remove functions with kmap-object argument from GEM VRAM helpers (diff)
downloadkernel-90e73491d5db182407ce6b44bf4c88e7fbe706c1.tar.gz
kernel-90e73491d5db182407ce6b44bf4c88e7fbe706c1.zip
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 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions