summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2017-10-01 01:26:21 -0600
committerJens Axboe <axboe@kernel.dk>2017-10-01 01:26:21 -0600
commit5385fa47d883dc7d51de622835427bc2558ed43c (patch)
treed6636ebd36fc651eddd1fdb3f9b119383e3e2057
parent547248736ae54b73e713ee259a81ab3a637cb2f7 (diff)
downloadlinux-stable-5385fa47d883dc7d51de622835427bc2558ed43c.tar.gz
linux-stable-5385fa47d883dc7d51de622835427bc2558ed43c.tar.bz2
linux-stable-5385fa47d883dc7d51de622835427bc2558ed43c.zip
blk-mq-tag: kill unused tag enums
We don't have any notion of a tagging cache anymore, and haven't for a long time. Kill off the unused enums. Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--block/blk-mq-tag.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/block/blk-mq-tag.h b/block/blk-mq-tag.h
index 5cb51e53cc03..5932a7ac7fc4 100644
--- a/block/blk-mq-tag.h
+++ b/block/blk-mq-tag.h
@@ -44,13 +44,8 @@ static inline struct sbq_wait_state *bt_wait_ptr(struct sbitmap_queue *bt,
}
enum {
- BLK_MQ_TAG_CACHE_MIN = 1,
- BLK_MQ_TAG_CACHE_MAX = 64,
-};
-
-enum {
BLK_MQ_TAG_FAIL = -1U,
- BLK_MQ_TAG_MIN = BLK_MQ_TAG_CACHE_MIN,
+ BLK_MQ_TAG_MIN = 1,
BLK_MQ_TAG_MAX = BLK_MQ_TAG_FAIL - 1,
};