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

Tiwei Bie tiwei.bie at intel.com
Mon Jul 17 08:26:56 CEST 2017


Signed-off-by: Tiwei Bie <tiwei.bie at intel.com>
---
 drivers/net/i40e/i40e_tm.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/net/i40e/i40e_tm.c b/drivers/net/i40e/i40e_tm.c
index 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;
 	}
 
-	goto done;
-
 done:
 	pf->tm_conf.committed = true;
 	return 0;
-- 
2.7.4



More information about the dev mailing list