diff options
author | John Garry <john.garry@huawei.com> | 2022-02-08 20:07:04 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-02-08 06:55:49 -0700 |
commit | 3f607293b74d6acb06571a774a500143c1f0ed2c (patch) | |
tree | 701c405641c19c2c7d131e2474ff594036cea0d7 /block | |
parent | 3301bc53358a0eb0a0db65fd7a513cd4cb50c83a (diff) | |
download | linux-rpi-3f607293b74d6acb06571a774a500143c1f0ed2c.tar.gz linux-rpi-3f607293b74d6acb06571a774a500143c1f0ed2c.tar.bz2 linux-rpi-3f607293b74d6acb06571a774a500143c1f0ed2c.zip |
sbitmap: Delete old sbitmap_queue_get_shallow()
Since __sbitmap_queue_get_shallow() was introduced in commit c05e66733788
("sbitmap: add sbitmap_get_shallow() operation"), it has not been used.
Delete __sbitmap_queue_get_shallow() and rename public
__sbitmap_queue_get_shallow() -> sbitmap_queue_get_shallow() as it is odd
to have public __foo but no foo at all.
Signed-off-by: John Garry <john.garry@huawei.com>
Link: https://lore.kernel.org/r/1644322024-105340-1-git-send-email-john.garry@huawei.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 845f74e8dd7b..0fd409b8e86e 100644 --- a/block/blk-mq-tag.c +++ b/block/blk-mq-tag.c @@ -107,7 +107,7 @@ static int __blk_mq_get_tag(struct blk_mq_alloc_data *data, return BLK_MQ_NO_TAG; if (data->shallow_depth) - return __sbitmap_queue_get_shallow(bt, data->shallow_depth); + return sbitmap_queue_get_shallow(bt, data->shallow_depth); else return __sbitmap_queue_get(bt); } |