Commit fa1c3eaf authored by Baolin Wang's avatar Baolin Wang Committed by Jens Axboe

block: Remove redundant 'return' statement

Remove redundant 'return' statement for 'void' functions.
Signed-off-by: default avatarBaolin Wang <baolin.wang@linux.alibaba.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent fe6f0cdc
...@@ -3405,7 +3405,7 @@ static int __init ioc_init(void) ...@@ -3405,7 +3405,7 @@ static int __init ioc_init(void)
static void __exit ioc_exit(void) static void __exit ioc_exit(void)
{ {
return blkcg_policy_unregister(&blkcg_policy_iocost); blkcg_policy_unregister(&blkcg_policy_iocost);
} }
module_init(ioc_init); module_init(ioc_init);
......
...@@ -1046,7 +1046,7 @@ static int __init iolatency_init(void) ...@@ -1046,7 +1046,7 @@ static int __init iolatency_init(void)
static void __exit iolatency_exit(void) static void __exit iolatency_exit(void)
{ {
return blkcg_policy_unregister(&blkcg_policy_iolatency); blkcg_policy_unregister(&blkcg_policy_iolatency);
} }
module_init(iolatency_init); module_init(iolatency_init);
......
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