[{"id":1759099,"web_url":"http://patchwork.ozlabs.org/comment/1759099/","msgid":"<002201d3209c$ab917520$02b45f60$@ovn.org>","list_archive_url":null,"date":"2017-08-29T07:58:57","subject":"Re: [ovs-dev] [PATCH 2/2] windows,python: remove unnecessary code","submitter":{"id":72181,"url":"http://patchwork.ozlabs.org/api/people/72181/","name":"Alin-Gabriel Serdean","email":"aserdean@ovn.org"},"content":"Acked-by: Alin Gabriel Serdean <aserdean@ovn.org>\n\n\n> -----Original Message-----\n> From: ovs-dev-bounces@openvswitch.org [mailto:ovs-dev-\n> bounces@openvswitch.org] On Behalf Of Alin Balutoiu\n> Sent: Friday, August 25, 2017 6:03 PM\n> To: dev@openvswitch.org\n> Subject: [ovs-dev] [PATCH 2/2] windows,python: remove unnecessary code\n> \n> At the moment we have WSAEventSelect in each if branch.\n> \n> Since the call to the function is similar, we can move it outside the if\nbranch\n> and create some local variables which will be passed to WSAEventSelect.\n> \n> This patch also remove the keyword argument passed when the event for\n> the connection overlapped structure is created.\n> The argument is not needed since it does not change the value from the\n> default one.\n> \n> Signed-off-by: Alin Balutoiu <abalutoiu@cloudbasesolutions.com>\n> ---\n>  python/ovs/stream.py | 41 ++++++++++++++++++-----------------------\n>  1 file changed, 18 insertions(+), 23 deletions(-)\n>","headers":{"Return-Path":"<ovs-dev-bounces@openvswitch.org>","X-Original-To":["incoming@patchwork.ozlabs.org","dev@openvswitch.org"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","ovs-dev@mail.linuxfoundation.org"],"Authentication-Results":"ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=openvswitch.org\n\t(client-ip=140.211.169.12; helo=mail.linuxfoundation.org;\n\tenvelope-from=ovs-dev-bounces@openvswitch.org;\n\treceiver=<UNKNOWN>)","Received":["from mail.linuxfoundation.org (mail.linuxfoundation.org\n\t[140.211.169.12])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xhLcm5Qzmz9t2x\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 29 Aug 2017 17:59:04 +1000 (AEST)","from mail.linux-foundation.org (localhost [127.0.0.1])\n\tby mail.linuxfoundation.org (Postfix) with ESMTP id A93E4A71;\n\tTue, 29 Aug 2017 07:59:00 +0000 (UTC)","from smtp1.linuxfoundation.org (smtp1.linux-foundation.org\n\t[172.17.192.35])\n\tby mail.linuxfoundation.org (Postfix) with ESMTPS id 0C077982\n\tfor <dev@openvswitch.org>; Tue, 29 Aug 2017 07:58:59 +0000 (UTC)","from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net\n\t[217.70.183.195])\n\tby smtp1.linuxfoundation.org (Postfix) with ESMTPS id 60F4A8A\n\tfor <dev@openvswitch.org>; Tue, 29 Aug 2017 07:58:58 +0000 (UTC)","from cloudbasealin (unknown [79.114.23.207])\n\t(Authenticated sender: aserdean@ovn.org)\n\tby relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 72CE5A8108;\n\tTue, 29 Aug 2017 09:58:56 +0200 (CEST)"],"X-Greylist":"domain auto-whitelisted by SQLgrey-1.7.6","X-Originating-IP":"79.114.23.207","From":"<aserdean@ovn.org>","To":"\"'Alin Balutoiu'\" <abalutoiu@cloudbasesolutions.com>,\n\t<dev@openvswitch.org>","References":"<1503673364-3166-1-git-send-email-abalutoiu@cloudbasesolutions.com>\n\t<1503673364-3166-3-git-send-email-abalutoiu@cloudbasesolutions.com>","In-Reply-To":"<1503673364-3166-3-git-send-email-abalutoiu@cloudbasesolutions.com>","Date":"Tue, 29 Aug 2017 10:58:57 +0300","Message-ID":"<002201d3209c$ab917520$02b45f60$@ovn.org>","MIME-Version":"1.0","X-Mailer":"Microsoft Outlook 16.0","Thread-Index":"AQHTHbOLBro1g0lkCEOIDduU3A+tn6Ka/Xgg","Content-Language":"ro","X-Spam-Status":"No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW\n\tautolearn=disabled version=3.3.1","X-Spam-Checker-Version":"SpamAssassin 3.3.1 (2010-03-16) on\n\tsmtp1.linux-foundation.org","Subject":"Re: [ovs-dev] [PATCH 2/2] windows,python: remove unnecessary code","X-BeenThere":"ovs-dev@openvswitch.org","X-Mailman-Version":"2.1.12","Precedence":"list","List-Id":"<ovs-dev.openvswitch.org>","List-Unsubscribe":"<https://mail.openvswitch.org/mailman/options/ovs-dev>,\n\t<mailto:ovs-dev-request@openvswitch.org?subject=unsubscribe>","List-Archive":"<http://mail.openvswitch.org/pipermail/ovs-dev/>","List-Post":"<mailto:ovs-dev@openvswitch.org>","List-Help":"<mailto:ovs-dev-request@openvswitch.org?subject=help>","List-Subscribe":"<https://mail.openvswitch.org/mailman/listinfo/ovs-dev>,\n\t<mailto:ovs-dev-request@openvswitch.org?subject=subscribe>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"ovs-dev-bounces@openvswitch.org","Errors-To":"ovs-dev-bounces@openvswitch.org"}}]