From: Timothy McDaniel Date: Thu, 5 Nov 2020 21:22:54 +0000 (-0600) Subject: event/dlb: remove useless assignment X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=76a1e914d57a850ef832961531b545ce67430b4d;p=dpdk.git 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 --- 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. */