Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
debugobjects: No need to check return value of debugfs_create()
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. Signed-off-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: Qian Cai <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Waiman Long <[email protected]> Cc: "Joel Fernandes (Google)" <[email protected]> Cc: Zhong Jiang <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
- Loading branch information