commit | e439ab710fb0564dccb52b0519b3d354ea2a9c50 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Jul 01 10:59:42 2020 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Jul 01 07:27:24 2020 -0600 |
tree | 81384c304cd9e72dd870c4f04b561c8275f9070d | |
parent | 833f84e2b9b512c02a8d751e63e2b7de4ea2aa82 [diff] |
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> Signed-off-by: Jens Axboe <axboe@kernel.dk>