aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/md/bcache/debug.c
diff options
context:
space:
mode:
authorDongbo Cao <cdbdyx@163.com>2018-10-08 20:41:17 +0800
committerJens Axboe <axboe@kernel.dk>2018-10-08 08:19:53 -0600
commit91bafdf081b8ad8ab4977918ee45dffe3d744060 (patch)
tree2a3a455bddfebd55949b066b1891a833f331f63d /drivers/md/bcache/debug.c
parentbcache: remove unused bch_passthrough_cache (diff)
downloadwireguard-linux-91bafdf081b8ad8ab4977918ee45dffe3d744060.tar.xz
wireguard-linux-91bafdf081b8ad8ab4977918ee45dffe3d744060.zip
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>
Diffstat (limited to 'drivers/md/bcache/debug.c')
-rw-r--r--drivers/md/bcache/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bcache/debug.c b/drivers/md/bcache/debug.c
index 06da66b2488a..8f448b9c96a1 100644
--- a/drivers/md/bcache/debug.c
+++ b/drivers/md/bcache/debug.c
@@ -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