diff options
author | Baolin Wang <baolin.wang@linux.alibaba.com> | 2020-06-15 11:12:23 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-06-15 16:34:43 +0200 |
commit | a8a5e383cf41c3852621f8cdfb9141c77b004cdd (patch) | |
tree | 0470934da3a2d86449885ab35f149e603db0b4e2 /block | |
parent | bcache: pr_info() format clean up in bcache_device_init() (diff) | |
download | linux-a8a5e383cf41c3852621f8cdfb9141c77b004cdd.tar.xz 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.c | 2 |
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); } /** |