From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id A0376A0471 for ; Tue, 18 Jun 2019 15:30:48 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9903E1BD0E; Tue, 18 Jun 2019 15:30:47 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id F30EB1BB78; Tue, 18 Jun 2019 15:30:45 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Jun 2019 06:30:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,389,1557212400"; d="scan'208";a="153474515" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga008.jf.intel.com with ESMTP; 18 Jun 2019 06:30:44 -0700 Received: from fmsmsx119.amr.corp.intel.com (10.18.124.207) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 18 Jun 2019 06:30:44 -0700 Received: from shsmsx105.ccr.corp.intel.com (10.239.4.158) by FMSMSX119.amr.corp.intel.com (10.18.124.207) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 18 Jun 2019 06:30:44 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.83]) by SHSMSX105.ccr.corp.intel.com ([169.254.11.72]) with mapi id 14.03.0439.000; Tue, 18 Jun 2019 21:30:42 +0800 From: "Zhang, Qi Z" To: "Xu, Rosen" , "Pei, Andy" , "dev@dpdk.org" CC: "stable@dpdk.org" Thread-Topic: [PATCH] net/ipn3ke: delete identical branch Thread-Index: AQHVEQ8VBQcnxhJFCEadkg2ZaFk936ahkdaQ Date: Tue, 18 Jun 2019 13:30:42 +0000 Message-ID: <039ED4275CED7440929022BC67E70611533A7CB2@SHSMSX103.ccr.corp.intel.com> References: <1558507482-350757-1-git-send-email-andy.pei@intel.com> <0E78D399C70DA940A335608C6ED296D73A76EABF@SHSMSX104.ccr.corp.intel.com> In-Reply-To: <0E78D399C70DA940A335608C6ED296D73A76EABF@SHSMSX104.ccr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNjYyZjhjM2QtMTViYS00ZTU3LTgwMGYtZGE0N2NkZjUxYjRkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiXC9odmgwSkZXdXpBYTR3WjBzcnFhY0dQeHRmeGNcL2NVeFRjK2JPWEZVUm9UY2RvK0NrTHQ0YnphTE9qTUxncWF5In0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] net/ipn3ke: delete identical branch X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 [mailto:dev-bounces@dpdk.org] On Behalf Of Xu, Rosen > Sent: Thursday, May 23, 2019 10:27 AM > To: Pei, Andy ; dev@dpdk.org > Cc: stable@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] net/ipn3ke: delete identical branch >=20 > Hi, >=20 > > -----Original Message----- > > From: Pei, Andy > > Sent: Wednesday, May 22, 2019 14:45 > > To: dev@dpdk.org > > Cc: Pei, Andy ; Xu, Rosen ; > > stable@dpdk.org > > Subject: [PATCH] net/ipn3ke: delete identical branch > > > > Whether the if statement is ture or not, the operation is identical. > > It is unnecessary to check the if statement, so just delete the if stat= ement. > > > > Coverity issue: 337928 > > Fixes: c820468ac99c ("net/ipn3ke: support TM") > > Cc: rosen.xu@intel.com > > Cc: stable@dpdk.org > > > > Signed-off-by: Andy Pei > > --- > Acked-by: Rosen Xu Applied to dpdk-next-net-intel. Thanks Qi