diff options
author | Christoph Hellwig <hch@lst.de> | 2024-03-04 07:04:45 -0700 |
---|---|---|
committer | Keith Busch <kbusch@kernel.org> | 2024-03-04 08:24:55 -0800 |
commit | 152694c82950a0930533dbe972b1f4fc11b95e98 (patch) | |
tree | a81bd5801da92fa604fa647a0d91bdd6fdf513a9 /scripts/gdb/linux/stackdepot.py | |
parent | 4999568184e5d68903e6d0e49609979cd6ef01d7 (diff) |
nvme: set max_hw_sectors unconditionally
All transports set a max_hw_sectors value in the nvme_ctrl, so make
the code using it unconditional and clean it up using a little helper.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/stackdepot.py')
0 files changed, 0 insertions, 0 deletions