]> www.infradead.org Git - users/hch/misc.git/commit
nvme-pci: remove superfluous arguments
authorChristoph Hellwig <hch@lst.de>
Tue, 17 Jun 2025 05:27:03 +0000 (07:27 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 17 Jun 2025 05:27:03 +0000 (07:27 +0200)
commitb9949e30245b5f75c4a56f4cc93b6c9a68ddfd5c
tree14f6c89538d24a0db9f6c73f7ab449ffccbeee3d
parent89e0170eaa06431d6c1dcc52b40cba4827862275
nvme-pci: remove superfluous arguments

The call chain in the prep_rq and completion paths passes around a lot
of nvme_dev, nvme_queue and nvme_command arguments that can be trivially
derived from the passed in struct request.  Remove them.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
drivers/nvme/host/pci.c