nvme: Remove redundant assignment of cq vector
authorIsrael Rukshin <israelr@mellanox.com>
Thu, 5 Sep 2019 15:41:06 +0000 (18:41 +0300)
committerSagi Grimberg <sagi@grimberg.me>
Thu, 12 Sep 2019 15:50:46 +0000 (08:50 -0700)
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>
drivers/nvme/host/pci.c

index 5c3732fd02bcba16766e1902736900c50e24c1a0..52205f8d90b472755b995227fafe1883c5c597ad 100644 (file)
@@ -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;