[PATCH] nvmet: pci-epf: Remove nvmet_pci_epf_[un]map_queue()

Christoph Hellwig hch at lst.de
Thu Mar 13 01:10:05 PDT 2025


On Thu, Mar 13, 2025 at 04:58:14PM +0900, Damien Le Moal wrote:
> The functions nvmet_pci_epf_map_queue() and nvmet_pci_epf_unmap_queue()
> are called respectively only from nvmet_pci_epf_create_cq() and
> nvmet_pci_epf_delete_cq(). Remove these functions and open-code them in
> their call site.
> 
> Signed-off-by: Damien Le Moal <dlemoal at kernel.org>
> ---
> 
> Note: this goes on top of the patch "nvmet: pci-epf: Keep completion
> queues mapped". I can squash these 2 patches together if preferred.

Yes, I think just squashing them would be best.




More information about the Linux-nvme mailing list