]> git.proxmox.com Git - ovs.git/commitdiff
windows,python: remove dead code in send_wait
authorAlin Balutoiu <abalutoiu@cloudbasesolutions.com>
Fri, 25 Aug 2017 15:02:54 +0000 (15:02 +0000)
committerAlin Gabriel Serdean <aserdean@ovn.org>
Tue, 12 Sep 2017 22:14:01 +0000 (01:14 +0300)
Found while looking over the code.

Signed-off-by: Alin Balutoiu <abalutoiu@cloudbasesolutions.com>
Suggested-by: Alin Gabriel Serdean <aserdean@ovn.org>
Acked-by: Alin Gabriel Serdean <aserdean@ovn.org>
Acked-by: Anand Kumar <kumaranand@vmware.com>
Signed-off-by: Alin Gabriel Serdean <aserdean@ovn.org>
python/ovs/stream.py

index cb1cdbe8d20b7d1926a2a4efe472295125675a4f..c8b96b0730e0b77813a036993ae25fe1affb8fd9 100644 (file)
@@ -492,8 +492,6 @@ class Stream(object):
         self.wait(poller, Stream.W_RECV)
 
     def send_wait(self, poller):
-        if sys.platform == 'win32':
-            poller.fd_wait(self.connect.hEvent, ovs.poller.POLLIN)
         self.wait(poller, Stream.W_SEND)
 
     def __del__(self):