[ovs-dev] [PATCH] datapath: stt: Remove unused if statement in function stt_cleanup().
wangyunjian
wangyunjian at huawei.com
Fri Sep 7 10:21:04 UTC 2018
From: Yunjian Wang <wangyunjian at huawei.com>
Signed-off-by: Yunjian Wang <wangyunjian at huawei.com>
---
datapath/linux/compat/stt.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/datapath/linux/compat/stt.c b/datapath/linux/compat/stt.c
index 8d16c1f..506f1d9 100644
--- a/datapath/linux/compat/stt.c
+++ b/datapath/linux/compat/stt.c
@@ -1706,9 +1706,6 @@ static void stt_cleanup(struct net *net)
int i;
sn->n_tunnels--;
- if (sn->n_tunnels)
- goto out;
-out:
n_tunnels--;
if (n_tunnels)
return;
--
1.8.3.1
More information about the dev
mailing list