diff options
author | Israel Rukshin <israelr@mellanox.com> | 2019-09-05 17:41:06 +0200 |
---|---|---|
committer | Sagi Grimberg <sagi@grimberg.me> | 2019-09-12 17:50:46 +0200 |
commit | 97b3807e93036819cabd803490c2bc6e2e58167c (patch) | |
tree | c239fd60906bc910e7238ef15d8b047c351ad006 /drivers | |
parent | nvme: Assign subsys instance from first ctrl (diff) | |
download | linux-97b3807e93036819cabd803490c2bc6e2e58167c.tar.xz linux-97b3807e93036819cabd803490c2bc6e2e58167c.zip |
nvme: Remove redundant assignment of cq vector
The cq vector is already assigned with the correct value.
Signed-off-by: Israel Rukshin <israelr@mellanox.com>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/nvme/host/pci.c | 1 |
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; |