linux-nvme.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] nvme: Remove double assignment of cq vector
@ 2019-09-05 14:50 Israel Rukshin
  2019-09-05 14:59 ` Keith Busch
  0 siblings, 1 reply; 5+ messages in thread
From: Israel Rukshin @ 2019-09-05 14:50 UTC (permalink / raw)
  To: Linux-nvme; +Cc: Max Gurtovoy, Christoph Hellwig, Israel Rukshin, Sagi Grimberg

Poll queues don't use it, so the assignment should be only when
using IRQs.

Signed-off-by: Israel Rukshin <israelr@mellanox.com>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
---
 drivers/nvme/host/pci.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
index 10d3071d6098..492074c95b9b 100644
--- a/drivers/nvme/host/pci.c
+++ b/drivers/nvme/host/pci.c
@@ -1560,7 +1560,6 @@ static int nvme_create_queue(struct nvme_queue *nvmeq, int qid, bool polled)
 	else if (result)
 		goto release_cq;
 
-	nvmeq->cq_vector = vector;
 	nvme_init_queue(nvmeq, qid);
 
 	if (!polled) {
-- 
2.16.3


_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-09-05 15:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-05 14:50 [PATCH] nvme: Remove double assignment of cq vector Israel Rukshin
2019-09-05 14:59 ` Keith Busch
2019-09-05 15:10   ` Israel Rukshin
2019-09-05 15:21     ` Keith Busch
2019-09-05 15:22     ` Max Gurtovoy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).