[ovs-dev] [PATCH] windows, python: remove dead code in send_wait

aserdean at ovn.org aserdean at ovn.org
Tue Aug 29 09:56:33 UTC 2017


Acked-by: Alin Gabriel Serdean <aserdean at ovn.org>


> -----Original Message-----
> From: ovs-dev-bounces at openvswitch.org [mailto:ovs-dev-
> bounces at openvswitch.org] On Behalf Of Alin Balutoiu
> Sent: Friday, August 25, 2017 6:03 PM
> To: dev at openvswitch.org
> Subject: [ovs-dev] [PATCH] windows,python: remove dead code in
> send_wait
> 
> Found while looking over the code.
> 
> Signed-off-by: Alin Balutoiu <abalutoiu at cloudbasesolutions.com>
> Suggested-by: Alin Gabriel Serdean <aserdean at ovn.org>
> ---
>  python/ovs/stream.py | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/python/ovs/stream.py b/python/ovs/stream.py index
> 717ea18..d4c1edb 100644
> --- a/python/ovs/stream.py
> +++ b/python/ovs/stream.py
> @@ -494,8 +494,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):
> --
> 2.10.0.windows.1
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev



More information about the dev mailing list