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: Dongbo Cao <cdbdyx@163.com>
Signed-off-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
Dongbo Cao 2018-10-08 20:41:17 +08:00 committed by Jens Axboe
parent 3fd3c5c02b
commit 91bafdf081
3 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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

View File

@ -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;