riscv: Fix memory_limit for 64-bit kernel
[linux-2.6-microblaze.git] / fs / dlm / main.c
index 3957992..afc66a1 100644 (file)
@@ -35,9 +35,7 @@ static int __init init_dlm(void)
        if (error)
                goto out_lockspace;
 
-       error = dlm_register_debugfs();
-       if (error)
-               goto out_config;
+       dlm_register_debugfs();
 
        error = dlm_user_init();
        if (error)
@@ -61,7 +59,6 @@ static int __init init_dlm(void)
        dlm_user_exit();
  out_debug:
        dlm_unregister_debugfs();
- out_config:
        dlm_config_exit();
  out_lockspace:
        dlm_lockspace_exit();