]> www.infradead.org Git - nvme.git/commitdiff
block: remove the unused blk_bounce enum
authorChristoph Hellwig <hch@lst.de>
Wed, 19 Jun 2024 15:45:33 +0000 (17:45 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 20 Jun 2024 12:53:14 +0000 (06:53 -0600)
The enum has been replaced with the BLK_FEAT_BOUNCE_HIGH flag.

Reported-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20240619154623.450048-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/blkdev.h

index e96ba7b97288d25a4217f15f3abf26a9adcd0064..f7d275e3fb2c1e74097d0c5eafa3c722070189a1 100644 (file)
@@ -343,15 +343,6 @@ enum {
        BLK_FLAGS_WRITE_CACHE_DISABLED          = (1u << 31),
 };
 
-/*
- * BLK_BOUNCE_NONE:    never bounce (default)
- * BLK_BOUNCE_HIGH:    bounce all highmem pages
- */
-enum blk_bounce {
-       BLK_BOUNCE_NONE,
-       BLK_BOUNCE_HIGH,
-};
-
 struct queue_limits {
        unsigned int            features;
        unsigned int            flags;