From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 62E7CA0521 for ; Thu, 5 Nov 2020 22:21:28 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 125D83257; Thu, 5 Nov 2020 22:21:25 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id EDA132BFE; Thu, 5 Nov 2020 22:21:20 +0100 (CET) IronPort-SDR: ZSEaQbSqT8/+usv9eNEAE5UsxH7q4tBpNGm2hvxCOb+SMKQBnVMoKSSDl/y/JAFX76bLwsAOpQ q7X74QrCCWSQ== X-IronPort-AV: E=McAfee;i="6000,8403,9796"; a="169574386" X-IronPort-AV: E=Sophos;i="5.77,454,1596524400"; d="scan'208";a="169574386" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Nov 2020 13:21:16 -0800 IronPort-SDR: ZLPDV3q94tEf6+zqAfFZ2C2U86ccaVaFzfFYq8h6vFt5yCcdhhRgErCE1KA+yp2cE2hqFtc9MK ZzJ+AUx9Hbkw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,454,1596524400"; d="scan'208";a="354448992" Received: from txasoft-yocto.an.intel.com ([10.123.72.192]) by fmsmga004.fm.intel.com with ESMTP; 05 Nov 2020 13:21:15 -0800 From: Timothy McDaniel To: Gage Eads Cc: dev@dpdk.org, erik.g.carrillo@intel.com, harry.van.haaren@intel.com, jerinj@marvell.com, john.mcnamara@dpdk.org, stable@dpdk.org Date: Thu, 5 Nov 2020 15:22:54 -0600 Message-Id: <1604611374-2072-4-git-send-email-timothy.mcdaniel@intel.com> X-Mailer: git-send-email 1.7.10 In-Reply-To: <1604611374-2072-1-git-send-email-timothy.mcdaniel@intel.com> References: <1604611374-2072-1-git-send-email-timothy.mcdaniel@intel.com> Subject: [dpdk-stable] [PATCH 2/4] event/dlb: fix no-effect Coverity warning X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Remove nonproductive assignment of qmport->cq_depth. Fixes: ee57517 ("event/dlb: add port setup") Coverity issue: 363717 Cc: stable@dpdk.org 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 2bb270d..0c95c47 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.6.4