mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 13:11:40 +00:00
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:
parent
3fd3c5c02b
commit
91bafdf081
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user