summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ryu/controller/controller.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/ryu/controller/controller.py b/ryu/controller/controller.py
index 9dc745ad..841b388c 100644
--- a/ryu/controller/controller.py
+++ b/ryu/controller/controller.py
@@ -196,10 +196,7 @@ class Datapath(object):
buf = self.send_q.get()
self.socket.sendall(buf)
finally:
- q = self.send_q
self.send_q = None
- while q.get():
- pass
def send(self, buf):
if self.send_q: