aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/null_blk_main.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-07-01 10:59:42 +0200
committerJens Axboe <axboe@kernel.dk>2020-07-01 07:27:24 -0600
commite439ab710fb0564dccb52b0519b3d354ea2a9c50 (patch)
tree81384c304cd9e72dd870c4f04b561c8275f9070d /drivers/block/null_blk_main.c
parentblock: remove the NULL queue check in generic_make_request_checks (diff)
downloadlinux-dev-e439ab710fb0564dccb52b0519b3d354ea2a9c50.tar.xz
linux-dev-e439ab710fb0564dccb52b0519b3d354ea2a9c50.zip
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>
Diffstat (limited to 'drivers/block/null_blk_main.c')
0 files changed, 0 insertions, 0 deletions