diff options
author | Greg Kroah-Hartman <[email protected]> | 2018-06-01 13:10:00 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2018-06-01 20:15:56 +0200 |
commit | 2739deaece4bc25fba5df0566423f4a11c3f4e84 (patch) | |
tree | 13df74902bed941f5662db8b37ca493af5a7f0da /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 0723103f8ba15a019bbcaf6f130d73d05337332f (diff) |
staging: vc04_services: remove odd vchiq_debugfs_top() wrapper
vchiq_debugfs_top() is only a wrapper around a pointer to a dentry, so
just use the dentry directly instead, making it a static variable
instead of part of a static structure.
This also removes the pointless BUG_ON() when checking that dentry as no
one should ever care if debugfs is working or not, and the kernel should
really not panic over something as trivial as that.
Suggested-by: Eric Anholt <[email protected]>
Cc: Stefan Wahren <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Dan Carpenter <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Keerthi Reddy <[email protected]>
Cc: [email protected]
Cc: [email protected]
Reviewed-by: Eric Anholt <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions