brd: remove the end of device check in brd_do_bvec
authorChristoph Hellwig <hch@lst.de>
Sun, 24 Jan 2021 10:02:32 +0000 (11:02 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jan 2021 01:17:20 +0000 (18:17 -0700)
commit74cb8994b22ad7b95ac38dad9c9609ae49e88ec1
treec738105086e89ddfd44e3b6af75284494b853537
parentd11cd28998e9d25389d8c20e7cce0e4b4f17bee1
brd: remove the end of device check in brd_do_bvec

The block layer already checks for this conditions in bio_check_eod
before calling the driver.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/brd.c