diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c index 0cd54a59153586dc55a6a20fce6617f84b05dd6d..e359f841c07bc3df86ae029bf860a7830d4d208e 100644 --- a/drivers/nvme/host/core.c +++ b/drivers/nvme/host/core.c @@ -977,7 +977,6 @@ EXPORT_SYMBOL_GPL(nvme_cleanup_cmd); blk_status_t nvme_setup_cmd(struct nvme_ns *ns, struct request *req, struct nvme_command *cmd) { - struct nvme_ctrl *ctrl = nvme_req(req)->ctrl; blk_status_t ret = BLK_STS_OK; if (!(req->rq_flags & RQF_DONTPREP))