OSDN Git Service

blk-mq-tag: kill unused tag enums
authorJens Axboe <axboe@kernel.dk>
Sun, 1 Oct 2017 07:26:21 +0000 (01:26 -0600)
committerJens Axboe <axboe@kernel.dk>
Sun, 1 Oct 2017 07:26:21 +0000 (01:26 -0600)
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>
block/blk-mq-tag.h

index 5cb51e5..5932a7a 100644 (file)
@@ -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,
 };