block: remove bdev_stack_limits
authorChristoph Hellwig <hch@lst.de>
Mon, 20 Jul 2020 06:12:50 +0000 (08:12 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 20 Jul 2020 21:38:52 +0000 (15:38 -0600)
commit9efa82ef2b15d1757dd6cc518988a4506554e893
tree923cbf50acc917a35fc6205c581e5dc364eb2936
parent3093a479727be194996dbc40f803711af5877be4
block: remove bdev_stack_limits

This function is just a tiny wrapper around blk_stack_limit and has
two callers.  Simplify the stack a bit by open coding it in the two
callers.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Tested-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-settings.c
drivers/md/dm-table.c
include/linux/blkdev.h