int bch_cache_allocator_start(struct cache *ca);
 
 void bch_debug_exit(void);
-int bch_debug_init(struct kobject *);
+void bch_debug_init(struct kobject *kobj);
 void bch_request_exit(void);
 int bch_request_init(void);
 
 
        .release        = single_release
 };
 
-int __init closure_debug_init(void)
+void  __init closure_debug_init(void)
 {
-       closure_debug = debugfs_create_file("closures",
-                               0400, bcache_debug, NULL, &debug_ops);
-       return IS_ERR_OR_NULL(closure_debug);
+       if (!IS_ERR_OR_NULL(bcache_debug))
+               /*
+                * it is unnecessary to check return value of
+                * debugfs_create_file(), we should not care
+                * about this.
+                */
+               closure_debug = debugfs_create_file(
+                       "closures", 0400, bcache_debug, NULL, &debug_ops);
 }
 #endif
 
 
 
 #ifdef CONFIG_BCACHE_CLOSURES_DEBUG
 
-int closure_debug_init(void);
+void closure_debug_init(void);
 void closure_debug_create(struct closure *cl);
 void closure_debug_destroy(struct closure *cl);
 
 #else
 
-static inline int closure_debug_init(void) { return 0; }
+static inline void closure_debug_init(void) {}
 static inline void closure_debug_create(struct closure *cl) {}
 static inline void closure_debug_destroy(struct closure *cl) {}
 
 
                debugfs_remove_recursive(bcache_debug);
 }
 
-int __init bch_debug_init(struct kobject *kobj)
+void __init bch_debug_init(struct kobject *kobj)
 {
-       if (!IS_ENABLED(CONFIG_DEBUG_FS))
-               return 0;
-
+       /*
+        * it is unnecessary to check return value of
+        * debugfs_create_file(), we should not care
+        * about this.
+        */
        bcache_debug = debugfs_create_dir("bcache", NULL);
-       return IS_ERR_OR_NULL(bcache_debug);
 }
 
                goto err;
 
        if (bch_request_init() ||
-           bch_debug_init(bcache_kobj) || closure_debug_init() ||
            sysfs_create_files(bcache_kobj, files))
                goto err;
 
+       bch_debug_init(bcache_kobj);
+       closure_debug_init();
+
        return 0;
 err:
        bcache_exit();