aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsrael Rukshin <[email protected]>2019-09-05 18:41:06 +0300
committerSagi Grimberg <[email protected]>2019-09-12 08:50:46 -0700
commit97b3807e93036819cabd803490c2bc6e2e58167c (patch)
treec239fd60906bc910e7238ef15d8b047c351ad006
parent733e4b69d508d03c20adfdcf4bd27abc60fae9cc (diff)
nvme: Remove redundant assignment of cq vector
The cq vector is already assigned with the correct value. Signed-off-by: Israel Rukshin <[email protected]> Reviewed-by: Max Gurtovoy <[email protected]> Reviewed-by: Keith Busch <[email protected]> Reviewed-off-by: Sagi Grimberg <[email protected]> Signed-off-by: Sagi Grimberg <[email protected]>
-rw-r--r--drivers/nvme/host/pci.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
index 5c3732fd02bc..52205f8d90b4 100644
--- a/drivers/nvme/host/pci.c
+++ b/drivers/nvme/host/pci.c
@@ -1555,7 +1555,6 @@ static int nvme_create_queue(struct nvme_queue *nvmeq, int qid, bool polled)
nvme_init_queue(nvmeq, qid);
if (!polled) {
- nvmeq->cq_vector = vector;
result = queue_request_irq(nvmeq);
if (result < 0)
goto release_sq;