Skip to content
Commit 9a794fb9 authored by Jens Axboe's avatar Jens Axboe
Browse files

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: default avatarJens Axboe <axboe@fb.com>
parent 4d1a4765
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment