mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
This patch removes the error checking for debugfs_create_dir in ntb_hw_amd.c. This is because the DebugFS kernel API is developed in a way that the caller can safely ignore the errors that occur during the creation of DebugFS nodes. The debugfs APIs have a IS_ERR() judge in start_creating() which can handle it gracefully. so these checks are unnecessary. Signed-off-by: Ruan Jinjie <[email protected]> Acked-by: Sanjay R Mehta <[email protected]> Signed-off-by: Jon Mason <[email protected]>