]> www.infradead.org Git - users/hch/block.git/commit
block: remove the discard_granularity check in __blkdev_issue_discard
authorChristoph Hellwig <hch@lst.de>
Thu, 7 Mar 2024 14:01:31 +0000 (07:01 -0700)
committerChristoph Hellwig <hch@lst.de>
Fri, 3 May 2024 16:48:29 +0000 (18:48 +0200)
commitedb18c6eae385a97e37b7eb227071085e5e873ad
tree13d847943ecd207058400339640180dc1935e7bd
parentbc2e07dfd2c49aaa4b52302cf7b55cf94e025f79
block: remove the discard_granularity check in __blkdev_issue_discard

We now set a default granularity in the queue limits API, so don't
bother with this extra check.

Signed-off-by: Christoph Hellwig <hch@lst.de>
block/blk-lib.c