summaryrefslogtreecommitdiffstats
path: root/block/blk-iocost.c
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang@linux.alibaba.com>2020-09-28 08:42:26 +0800
committerJens Axboe <axboe@kernel.dk>2020-10-08 07:59:48 -0600
commitfa1c3eaf4dae94a6109d436b4bad7dc9b072ad39 (patch)
tree755ebf8910972cb71acff0deddc6f34c6c7ffebb /block/blk-iocost.c
parentfe6f0cdc49263ae61cd3d33399662808c2398e86 (diff)
downloadlinux-fa1c3eaf4dae94a6109d436b4bad7dc9b072ad39.tar.gz
linux-fa1c3eaf4dae94a6109d436b4bad7dc9b072ad39.tar.bz2
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>
Diffstat (limited to 'block/blk-iocost.c')
-rw-r--r--block/blk-iocost.c2
1 files changed, 1 insertions, 1 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);