summaryrefslogtreecommitdiffstats
path: root/drivers/nvme/host/nvme.h
diff options
context:
space:
mode:
authorMax Gurtovoy <mgurtovoy@nvidia.com>2021-01-05 10:34:02 +0000
committerChristoph Hellwig <hch@lst.de>2021-01-06 10:30:37 +0100
commit2b59787a223b79228fed9ade1bf6936194ddb8cd (patch)
treec698cf882c28df2b5fd62d48a29c93dd9b611967 /drivers/nvme/host/nvme.h
parent9ceb7863537748c67fa43ac4f2f565819bbd36e4 (diff)
downloadlinux-2b59787a223b79228fed9ade1bf6936194ddb8cd.tar.gz
linux-2b59787a223b79228fed9ade1bf6936194ddb8cd.tar.bz2
linux-2b59787a223b79228fed9ade1bf6936194ddb8cd.zip
nvme: remove the unused status argument from nvme_trace_bio_complete
The only used argument in this function is the "req". Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com> Reviewed-by: Minwoo Im <minwoo.im.dev@gmail.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/host/nvme.h')
-rw-r--r--drivers/nvme/host/nvme.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/nvme/host/nvme.h b/drivers/nvme/host/nvme.h
index 9c4fbfe44c00..88a6b97247f5 100644
--- a/drivers/nvme/host/nvme.h
+++ b/drivers/nvme/host/nvme.h
@@ -672,8 +672,7 @@ static inline void nvme_mpath_check_last_path(struct nvme_ns *ns)
kblockd_schedule_work(&head->requeue_work);
}
-static inline void nvme_trace_bio_complete(struct request *req,
- blk_status_t status)
+static inline void nvme_trace_bio_complete(struct request *req)
{
struct nvme_ns *ns = req->q->queuedata;
@@ -728,8 +727,7 @@ static inline void nvme_mpath_clear_ctrl_paths(struct nvme_ctrl *ctrl)
static inline void nvme_mpath_check_last_path(struct nvme_ns *ns)
{
}
-static inline void nvme_trace_bio_complete(struct request *req,
- blk_status_t status)
+static inline void nvme_trace_bio_complete(struct request *req)
{
}
static inline int nvme_mpath_init(struct nvme_ctrl *ctrl,