]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-core: remove unnecessary function parameter
authorChaitanya Kulkarni <kch@nvidia.com>
Sat, 22 Jan 2022 05:05:39 +0000 (21:05 -0800)
committerChristoph Hellwig <hch@lst.de>
Mon, 28 Feb 2022 11:45:04 +0000 (13:45 +0200)
commitf9e6797ac93b7cfe6be85c33b6527911deed3c23
tree1d96c2b0e49fda5d726fd40f94db8368925e4316
parentc2318b15d3e8ddda2b4a8a6722821561448256a9
nvme-core: remove unnecessary function parameter

In function nvme_execute_rq() we don't use gendisk parameter at all.
Remove the unsed parameter and adjust the calls.

Signed-off-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/core.c