summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang@linux.alibaba.com>2020-06-15 17:12:23 +0800
committerJens Axboe <axboe@kernel.dk>2020-06-15 08:34:43 -0600
commita8a5e383cf41c3852621f8cdfb9141c77b004cdd (patch)
tree0470934da3a2d86449885ab35f149e603db0b4e2 /block
parent4b25bbf52a55b58f03473333eafe61c0d46125aa (diff)
downloadlinux-a8a5e383cf41c3852621f8cdfb9141c77b004cdd.tar.gz
linux-a8a5e383cf41c3852621f8cdfb9141c77b004cdd.tar.bz2
linux-a8a5e383cf41c3852621f8cdfb9141c77b004cdd.zip
blk-mq: Remove redundant 'return' statement
The blk_mq_all_tag_iter() is a void function, thus remove the redundant 'return' statement in this function. Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com> Reviewed-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
-rw-r--r--block/blk-mq-tag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-mq-tag.c b/block/blk-mq-tag.c
index 44f3d0967cb4..ae722f8b13fb 100644
--- a/block/blk-mq-tag.c
+++ b/block/blk-mq-tag.c
@@ -376,7 +376,7 @@ static void __blk_mq_all_tag_iter(struct blk_mq_tags *tags,
void blk_mq_all_tag_iter(struct blk_mq_tags *tags, busy_tag_iter_fn *fn,
void *priv)
{
- return __blk_mq_all_tag_iter(tags, fn, priv, BT_TAG_ITER_STATIC_RQS);
+ __blk_mq_all_tag_iter(tags, fn, priv, BT_TAG_ITER_STATIC_RQS);
}
/**