[dpdk-dev] net/ixgbe: remove an unnecessary goto

Message ID 1500272976-129779-1-git-send-email-tiwei.bie@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Ferruh Yigit
Headers

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Tiwei Bie July 17, 2017, 6:29 a.m. UTC
Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
---
 drivers/net/ixgbe/ixgbe_tm.c | 2 --
 1 file changed, 2 deletions(-)
  

Comments

Ferruh Yigit July 18, 2017, 11:04 a.m. UTC | #1
On 7/17/2017 7:29 AM, Tiwei Bie wrote:
> Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>

Applied to dpdk-next-net/master, thanks.
  

Patch

diff --git a/drivers/net/ixgbe/ixgbe_tm.c b/drivers/net/ixgbe/ixgbe_tm.c
index b76d186..cdcf45c 100644
--- a/drivers/net/ixgbe/ixgbe_tm.c
+++ b/drivers/net/ixgbe/ixgbe_tm.c
@@ -1029,8 +1029,6 @@  ixgbe_hierarchy_commit(struct rte_eth_dev *dev,
 		}
 	}
 
-	goto done;
-
 done:
 	tm_conf->committed = true;
 	return 0;