From 76a1e914d57a850ef832961531b545ce67430b4d Mon Sep 17 00:00:00 2001 From: Timothy McDaniel Date: Thu, 5 Nov 2020 15:22:54 -0600 Subject: [PATCH] event/dlb: remove useless assignment Remove nonproductive assignment of qmport->cq_depth. Coverity issue: 363717 Fixes: ee57517 ("event/dlb: add port setup") Signed-off-by: Timothy McDaniel --- drivers/event/dlb/dlb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/event/dlb/dlb.c b/drivers/event/dlb/dlb.c index 2bb270d3de..0c95c4793d 100644 --- a/drivers/event/dlb/dlb.c +++ b/drivers/event/dlb/dlb.c @@ -1000,7 +1000,6 @@ dlb_hw_create_ldb_port(struct dlb_eventdev *dlb, /* The credit window is one high water mark of QEs */ qm_port->dir_pushcount_at_credit_expiry = 0; qm_port->cached_dir_credits = cfg.dir_credit_high_watermark; - qm_port->cq_depth = cfg.cq_depth; /* CQs with depth < 8 use an 8-entry queue, but withhold credits so * the effective depth is smaller. */ -- 2.20.1