event/dlb: remove useless assignment
authorTimothy McDaniel <timothy.mcdaniel@intel.com>
Thu, 5 Nov 2020 21:22:54 +0000 (15:22 -0600)
committerJerin Jacob <jerinj@marvell.com>
Thu, 12 Nov 2020 17:40:18 +0000 (18:40 +0100)
Remove nonproductive assignment of qmport->cq_depth.

Coverity issue: 363717
Fixes: ee57517 ("event/dlb: add port setup")

Signed-off-by: Timothy McDaniel <timothy.mcdaniel@intel.com>
drivers/event/dlb/dlb.c

index 2bb270d..0c95c47 100644 (file)
@@ -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.
         */