Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

block: remove the unused blk_bounce enum

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>

authored by

Christoph Hellwig and committed by
Jens Axboe
f6860b60 339d3948

-9
-9
include/linux/blkdev.h
··· 343 343 BLK_FLAGS_WRITE_CACHE_DISABLED = (1u << 31), 344 344 }; 345 345 346 - /* 347 - * BLK_BOUNCE_NONE: never bounce (default) 348 - * BLK_BOUNCE_HIGH: bounce all highmem pages 349 - */ 350 - enum blk_bounce { 351 - BLK_BOUNCE_NONE, 352 - BLK_BOUNCE_HIGH, 353 - }; 354 - 355 346 struct queue_limits { 356 347 unsigned int features; 357 348 unsigned int flags;