diff options
author | Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> | 2020-07-16 17:51:37 -0700 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-07-29 07:45:18 +0200 |
commit | 6c3c05b087ada8947cd31895f67e433070446234 (patch) | |
tree | d6493909e2c496b6b9deb0d038ec42a9ddcb8fe3 /drivers/gpio/gpio-74x164.c | |
parent | 5887450b69e72d4b472a7d049773f6a01bc24cd7 (diff) | |
download | linux-6c3c05b087ada8947cd31895f67e433070446234.tar.gz |
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 'drivers/gpio/gpio-74x164.c')
0 files changed, 0 insertions, 0 deletions