OSDN Git Service

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)
commitba3266434d6615ff8015b01846d0e7756c9ad936
tree1d96c2b0e49fda5d726fd40f94db8368925e4316
parent50ab19d89feaf4ebeca6872b46da4b503eee20c1
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