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 DE361A0C3F; Mon, 10 May 2021 04:52:08 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 66D6D40140; Mon, 10 May 2021 04:52:08 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 765834003E for ; Mon, 10 May 2021 04:52:06 +0200 (CEST) IronPort-SDR: rBE8AmvSx8TOBo2Jb0Y4ji8/j553y+KUpRs2K0sfRBfuOU+IEhlMr+0j3tmZAqPM9ExNSXyiVa omiCIja2I0Mg== X-IronPort-AV: E=McAfee;i="6200,9189,9979"; a="284581324" X-IronPort-AV: E=Sophos;i="5.82,286,1613462400"; d="scan'208";a="284581324" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 May 2021 19:52:05 -0700 IronPort-SDR: lNQ6Xoto3xi9dD/GT8K0lw2V0hUlUvSfp7f2B8c9pNsin241GgwXZWMujr0G3tf3qHAFPTGcg1 EYC0azad1E3g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,286,1613462400"; d="scan'208";a="461133708" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by FMSMGA003.fm.intel.com with ESMTP; 09 May 2021 19:52:05 -0700 Received: from shsmsx602.ccr.corp.intel.com (10.109.6.142) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Sun, 9 May 2021 19:52:04 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX602.ccr.corp.intel.com (10.109.6.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Mon, 10 May 2021 10:52:02 +0800 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.2106.013; Mon, 10 May 2021 10:52:02 +0800 From: "Zhang, Qi Z" To: "Lu, Wenzhuo" , "dev@dpdk.org" CC: "Lu, Wenzhuo" Thread-Topic: [dpdk-dev] [PATCH] net/iavf: fix coverity issue Thread-Index: AQHXRTx5N04Y2tTo00W+vf8KWH4QoKrcBEyQ Date: Mon, 10 May 2021 02:52:02 +0000 Message-ID: <80a54c3260484acfa8943bb865cec03c@intel.com> References: <1620610371-114084-1-git-send-email-wenzhuo.lu@intel.com> In-Reply-To: <1620610371-114084-1-git-send-email-wenzhuo.lu@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.5.1.3 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] net/iavf: fix coverity issue 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 Sender: "dev" > -----Original Message----- > From: dev On Behalf Of Wenzhuo Lu > Sent: Monday, May 10, 2021 9:33 AM > To: dev@dpdk.org > Cc: Lu, Wenzhuo > Subject: [dpdk-dev] [PATCH] net/iavf: fix coverity issue >=20 > The coverity issue, > "CID 370606: Control flow issues (DEADCODE) Execution cannot reach the > expression "use_avx2" > inside this statement: "if (!use_sse && !use_avx2 &..."." >=20 > After commit bb3ef9aaa478, the check is useless. >=20 > Fixes: bb3ef9aaa478 ("net/iavf: fix Rx function selection") Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi