forked from luck/tmp_suning_uos_patched
block: Remove redundant 'return' statement
Remove redundant 'return' statement for 'void' functions. Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
fe6f0cdc49
commit
fa1c3eaf4d
|
@ -3405,7 +3405,7 @@ static int __init ioc_init(void)
|
|||
|
||||
static void __exit ioc_exit(void)
|
||||
{
|
||||
return blkcg_policy_unregister(&blkcg_policy_iocost);
|
||||
blkcg_policy_unregister(&blkcg_policy_iocost);
|
||||
}
|
||||
|
||||
module_init(ioc_init);
|
||||
|
|
|
@ -1046,7 +1046,7 @@ static int __init iolatency_init(void)
|
|||
|
||||
static void __exit iolatency_exit(void)
|
||||
{
|
||||
return blkcg_policy_unregister(&blkcg_policy_iolatency);
|
||||
blkcg_policy_unregister(&blkcg_policy_iolatency);
|
||||
}
|
||||
|
||||
module_init(iolatency_init);
|
||||
|
|
Loading…
Reference in New Issue
Block a user