From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id DCBC541E87; Mon, 13 Mar 2023 20:19:36 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BFBAE40E03; Mon, 13 Mar 2023 20:19:36 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 8BBA4406BC for ; Mon, 13 Mar 2023 20:19:34 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1086) id D9DB620C343B; Mon, 13 Mar 2023 12:19:33 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com D9DB620C343B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1678735173; bh=WIgnRCjnoHgnTc2vdXGXWaFfL8q9VPGrt8QhjnFDNVo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=A51aNrZrtRwxUdajPyD6WAgZkBrVwtSMH5akl11nRQMS4an/Mw46Z1JAKKoxSeNJ8 ePPah5yxCHkeerNzlz8dYbUKRL9OPfB+vxz0wfDk3WfAKekfEx5vz7gjhuEkEmEa6h 6YARFgGh594HnXIv9gyQapdLJYKTlPOvH+L0RZTo= Date: Mon, 13 Mar 2023 12:19:33 -0700 From: Tyler Retzlaff To: Srikanth Yalavarthi Cc: Jerin Jacob , dev@dpdk.org, sshankarnara@marvell.com Subject: Re: [PATCH] mldev: remove variable self assignment in dev init Message-ID: <20230313191933.GA25143@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> References: <20230311145705.9178-1-syalavarthi@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230311145705.9178-1-syalavarthi@marvell.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Sat, Mar 11, 2023 at 06:57:04AM -0800, Srikanth Yalavarthi wrote: > Fix variable self assignment in rte_ml_devinit. > Issue reported by coverity scan. > > Coverity issue: 383652 > Fixes: ea80eafbd4d8 ("mldev: add PMD functions") > > Signed-off-by: Srikanth Yalavarthi > --- Reviewed-by: Tyler Retzlaff > lib/mldev/rte_mldev.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/lib/mldev/rte_mldev.c b/lib/mldev/rte_mldev.c > index eeddb8e874..50ebeb1bfe 100644 > --- a/lib/mldev/rte_mldev.c > +++ b/lib/mldev/rte_mldev.c > @@ -186,7 +186,6 @@ rte_ml_dev_init(size_t dev_max) > } > > ml_dev_globals.max_devs = dev_max; > - ml_dev_globals.devs = ml_dev_globals.devs; > > return 0; > } > -- > 2.17.1