summaryrefslogtreecommitdiffstats
path: root/drivers/block/loop.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2016-11-22 08:12:39 -0700
committerJens Axboe <axboe@fb.com>2016-11-22 08:56:25 -0700
commit9a794fb9bddeda0b8c8c13858038318f3cbd4b7e (patch)
treea4d6e96d980b212e369cb760e2869990625e27c3 /drivers/block/loop.h
parent4d1a4765426fb57439164089b3cb537ec65356eb (diff)
downloadblackbird-op-linux-9a794fb9bddeda0b8c8c13858038318f3cbd4b7e.tar.gz
blackbird-op-linux-9a794fb9bddeda0b8c8c13858038318f3cbd4b7e.zip
block_dev: get rid of blksize bits calculation
We store the bits in the bdev sector size locally, but we don't use the calculation anymore. All we do with it is shift it back up to the bdev sector size. So let's just use that directly and kill the variable and bits calculation. Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/block/loop.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud