From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 233FD47CD for ; Tue, 18 Jul 2017 05:18:41 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga105.fm.intel.com with ESMTP; 17 Jul 2017 20:18:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,376,1496127600"; d="scan'208";a="1196594392" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga002.fm.intel.com with ESMTP; 17 Jul 2017 20:18:40 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 17 Jul 2017 20:18:40 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.197]) by shsmsx102.ccr.corp.intel.com ([169.254.2.146]) with mapi id 14.03.0319.002; Tue, 18 Jul 2017 11:18:36 +0800 From: "Xing, Beilei" To: "Bie, Tiwei" , "Wu, Jingjing" , "dev@dpdk.org" Thread-Topic: [PATCH] net/i40e: remove an unnecessary goto Thread-Index: AQHS/sXglRMWn43oiU+h3e2tN6ePpqJY62fA Date: Tue, 18 Jul 2017 03:18:36 +0000 Message-ID: <94479800C636CB44BD422CB454846E0131FE7CC5@SHSMSX101.ccr.corp.intel.com> References: <1500272816-129323-1-git-send-email-tiwei.bie@intel.com> In-Reply-To: <1500272816-129323-1-git-send-email-tiwei.bie@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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/i40e: remove an unnecessary goto 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: , X-List-Received-Date: Tue, 18 Jul 2017 03:18:42 -0000 > -----Original Message----- > From: Bie, Tiwei > Sent: Monday, July 17, 2017 2:27 PM > To: Wu, Jingjing ; Xing, Beilei > ; dev@dpdk.org > Cc: Bie, Tiwei > Subject: [PATCH] net/i40e: remove an unnecessary goto >=20 > Signed-off-by: Tiwei Bie > --- > drivers/net/i40e/i40e_tm.c | 2 -- > 1 file changed, 2 deletions(-) >=20 > diff --git a/drivers/net/i40e/i40e_tm.c b/drivers/net/i40e/i40e_tm.c inde= x > 56013b1..d90313a 100644 > --- a/drivers/net/i40e/i40e_tm.c > +++ b/drivers/net/i40e/i40e_tm.c > @@ -962,8 +962,6 @@ i40e_hierarchy_commit(struct rte_eth_dev *dev, > goto fail_clear; > } >=20 > - goto done; > - > done: > pf->tm_conf.committed =3D true; > return 0; > -- > 2.7.4 Acked-by: Beilei Xing