diff options
author | Baolin Wang <baolin.wang@linux.alibaba.com> | 2020-09-28 02:42:26 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-10-08 15:59:48 +0200 |
commit | fa1c3eaf4dae94a6109d436b4bad7dc9b072ad39 (patch) | |
tree | 755ebf8910972cb71acff0deddc6f34c6c7ffebb | |
parent | block: soft limit zone-append sectors as well (diff) | |
download | linux-fa1c3eaf4dae94a6109d436b4bad7dc9b072ad39.tar.xz linux-fa1c3eaf4dae94a6109d436b4bad7dc9b072ad39.zip |
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>
-rw-r--r-- | block/blk-iocost.c | 2 | ||||
-rw-r--r-- | block/blk-iolatency.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/block/blk-iocost.c b/block/blk-iocost.c index b82649c1440b..951ad4bb27f5 100644 --- a/block/blk-iocost.c +++ b/block/blk-iocost.c @@ -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); diff --git a/block/blk-iolatency.c b/block/blk-iolatency.c index f90429cf4edf..81be0096411d 100644 --- a/block/blk-iolatency.c +++ b/block/blk-iolatency.c @@ -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); |