Signed-off-by: YAMAMOTO Takashi <[email protected]>
---
 ryu/app/tunnel_port_updater.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/ryu/app/tunnel_port_updater.py b/ryu/app/tunnel_port_updater.py
index da88b5f..18ec079 100644
--- a/ryu/app/tunnel_port_updater.py
+++ b/ryu/app/tunnel_port_updater.py
@@ -350,7 +350,6 @@ class TunnelPortUpdater(app_manager.RyuApp):
         'network': network.Network,
         'tunnels': tunnels.Tunnels,
     }
-    _LOCK = 'lock'
 
     def __init__(self, *args, **kwargs):
         super(TunnelPortUpdater, self).__init__(args, kwargs)
@@ -366,8 +365,6 @@ class TunnelPortUpdater(app_manager.RyuApp):
         self.network_api.update_network(
             _TUNNEL_TYPE_TO_NW_ID[self.tunnel_type])
 
-        setattr(self, self._LOCK, gevent.coros.Semaphore())
-
     def _ovsdb_update(self, dpid, ovsdb_addr, ovs_tunnel_addr):
         self.logger.debug('_ovsdb_update %s %s %s',
                           dpid_lib.dpid_to_str(dpid), ovsdb_addr,
-- 
1.8.0.1


------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to