summaryrefslogtreecommitdiff
path: root/crypto/pcrypt.c
diff options
context:
space:
mode:
authorMatias Bjørling <m@bjorling.me>2016-02-20 08:52:42 +0100
committerJens Axboe <axboe@fb.com>2016-03-03 14:46:35 -0700
commited2a92a6b4b8453a0c3a20da641ec79e4b3d7ca4 (patch)
treeaafd1639c001a5cbd83041c4b19b1bc17a0b4bb9 /crypto/pcrypt.c
parent4ece44af733ff63a7cd12aaa8c85afb6d9fdc664 (diff)
lightnvm: remove struct nvm_dev->total_blocks
The struct nvm_dev->total_blocks was only used for calculating total sectors. Remove and instead calculate total sectors from the number of luns and its sectors. Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'crypto/pcrypt.c')
0 files changed, 0 insertions, 0 deletions