Commit 91bafdf0 authored by Dongbo Cao's avatar Dongbo Cao Committed by Jens Axboe

bcache: remove useless parameter of bch_debug_init()

Parameter "struct kobject *kobj" in bch_debug_init() is useless,
remove it in this patch.
Signed-off-by: default avatarDongbo Cao <cdbdyx@163.com>
Signed-off-by: default avatarColy Li <colyli@suse.de>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 3fd3c5c0
......@@ -1004,7 +1004,7 @@ void bch_open_buckets_free(struct cache_set *c);
int bch_cache_allocator_start(struct cache *ca);
void bch_debug_exit(void);
void bch_debug_init(struct kobject *kobj);
void bch_debug_init(void);
void bch_request_exit(void);
int bch_request_init(void);
......
......@@ -253,7 +253,7 @@ void bch_debug_exit(void)
debugfs_remove_recursive(bcache_debug);
}
void __init bch_debug_init(struct kobject *kobj)
void __init bch_debug_init(void)
{
/*
* it is unnecessary to check return value of
......
......@@ -2389,7 +2389,7 @@ static int __init bcache_init(void)
sysfs_create_files(bcache_kobj, files))
goto err;
bch_debug_init(bcache_kobj);
bch_debug_init();
closure_debug_init();
return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment