]> www.infradead.org Git - users/hch/misc.git/commit
nvme-pci: simplify nvme_pci_metadata_use_sgls
authorChristoph Hellwig <hch@lst.de>
Thu, 5 Jun 2025 06:23:56 +0000 (08:23 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 10 Jun 2025 04:52:27 +0000 (06:52 +0200)
commit9515c3aa3e90b2cf8b7d3bfdf1fbdcbb7f92d279
tree8abb282302026fd318645717eb802b791bf6e4e0
parentb49ba82f30c66fba9ade8d84d89c84b6ba6f7ed0
nvme-pci: simplify nvme_pci_metadata_use_sgls

Move the nvme_ctrl_meta_sgl_supported into the callers.  2 out of
three already have it, and the third will be simplified in follow on
patches.

Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/pci.c