mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-28 12:53:14 +01:00
lib: remove error checking for debugfs_create_dir()
It is expected that most callers should _ignore_ the errors return by debugfs_create_dir() in err_inject_init(). Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Wang Ming <[email protected]> Cc: Akinobu Mita <[email protected]> Cc: David Hildenbrand <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
This commit is contained in:
1 parent
598f0046e9
commit
c3d2d45b06
1 file changed
-3
@@ -83,9 +83,6 @@ static int __init err_inject_init(void)
|
||||
notifier_err_inject_dir =
|
||||
debugfs_create_dir("notifier-error-inject", NULL);
|
||||
|
||||
if (!notifier_err_inject_dir)
|
||||
return -ENOMEM;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user