Skip to content
Commit b199ac6c authored by Borislav Petkov's avatar Borislav Petkov Committed by Ingo Molnar
Browse files

x86/RAS/mce_amd_inj: Remove debugfs dir recursively on exit



Simplify exit_mce_inject() by using debugfs_remove_recursive() and do
away with the noodling over the dentry elements.

Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20160926083152.30848-3-bp@alien8.de
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent 8b44f00f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment