aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/kdebugfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/kernel/kdebugfs.c')
-rw-r--r--arch/sh/kernel/kdebugfs.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/sh/kernel/kdebugfs.c b/arch/sh/kernel/kdebugfs.c
index 95428e05d212..8b505e1556a5 100644
--- a/arch/sh/kernel/kdebugfs.c
+++ b/arch/sh/kernel/kdebugfs.c
@@ -9,9 +9,6 @@ EXPORT_SYMBOL(arch_debugfs_dir);
static int __init arch_kdebugfs_init(void)
{
arch_debugfs_dir = debugfs_create_dir("sh", NULL);
- if (!arch_debugfs_dir)
- return -ENOMEM;
-
return 0;
}
arch_initcall(arch_kdebugfs_init);