]> www.infradead.org Git - users/hch/block.git/commit
block: remove the nr_sectors variable in generic_make_request_checks
authorChristoph Hellwig <hch@lst.de>
Fri, 26 Jun 2020 11:50:58 +0000 (13:50 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 1 Jul 2020 06:40:33 +0000 (08:40 +0200)
commitdd3426ece3bcc2109599d42b1d7fa22dc6be445d
treeaaffbc0f3a6e263030faede800aa7d402f46da57
parent0f853f1f256924937c8b081bd99e7fbea2c57406
block: remove the nr_sectors variable in generic_make_request_checks

The variable is only used once, so just open code the bio_sector()
there.

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