lightnvm: remove nvm_dev_ops->max_phys_sect

The value of max_phys_sect is always static. Instead of
defining it in the nvm_dev_ops structure, declare it as a global
value.

Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
Matias Bjørling 2018-03-30 00:05:04 +02:00 • committed by Jens Axboe
commit 89a09c5643
5 changed files with 16 additions and 39 deletions