nvme-pci: remove superfluous arguments
authorChristoph Hellwig <hch@lst.de>
Wed, 25 Jun 2025 11:35:02 +0000 (13:35 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 30 Jun 2025 21:50:53 +0000 (15:50 -0600)
commitdeecd1c49cd36df206a20afb82399cbc9058c16d
tree53a8930c62d906362cfdd3a530ad1b717540ae26
parentcd71b52a559d816f5631cf4fdc49ade13cc6ac02
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>
Link: https://lore.kernel.org/r/20250625113531.522027-6-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/pci.c