summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>2020-07-16 17:51:37 -0700
committerChristoph Hellwig <hch@lst.de>2020-07-29 07:45:18 +0200
commit6c3c05b087ada8947cd31895f67e433070446234 (patch)
treed6493909e2c496b6b9deb0d038ec42a9ddcb8fe3 /lib/mpi/mpi-sub-ui.c
parent5887450b69e72d4b472a7d049773f6a01bc24cd7 (diff)
nvme-core: replace ctrl page size with a macro
Saving the nvme controller's page size was from a time when the driver tried to use different sized pages, but this value is always set to a constant, and has been this way for some time. Remove the 'page_size' field and replace its usage with the constant value. This also lets the compiler make some micro-optimizations in the io path, and that's always a good thing. Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions