From patchwork Thu Jun 29 17:16:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 9817483 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 33CBB60365 for ; Thu, 29 Jun 2017 17:21:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1BFDB28861 for ; Thu, 29 Jun 2017 17:21:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 105232886C; Thu, 29 Jun 2017 17:21:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 834F32886A for ; Thu, 29 Jun 2017 17:21:03 +0000 (UTC) Received: from localhost ([::1]:40520 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dQd7m-0003qA-Kw for patchwork-qemu-devel@patchwork.kernel.org; Thu, 29 Jun 2017 13:21:02 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52070) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dQd6f-0003n8-Ft for qemu-devel@nongnu.org; Thu, 29 Jun 2017 13:19:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dQd6e-0000As-Ig for qemu-devel@nongnu.org; Thu, 29 Jun 2017 13:19:53 -0400 Received: from mail-sn1nam02on0052.outbound.protection.outlook.com ([104.47.36.52]:6102 helo=NAM02-SN1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dQd6Z-00009G-Rs; Thu, 29 Jun 2017 13:19:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector1-xilinx-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=yD3wwJ4iJlcxArsY7GH9u5714knMbsA1ySzcopfxGBw=; b=nMqzGD07/6SAnAnsW4CnggHsq7lT2jEoQAwRawAR6NIlC/hCZVvJHz/TPWl4VlJXfcEoCOCai6DTQCLuZ6pHmD9Ydx/rmvsKUtWB1EDkJ9Kn5he9hxTg0xlpHZJIyLfY0MsZblakbtBcdckgDjYeNm5OTSQokGnj/jYeFNUYDNA= Received: from CY4PR02CA0043.namprd02.prod.outlook.com (10.175.57.157) by CY4PR02MB2677.namprd02.prod.outlook.com (10.175.59.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11; Thu, 29 Jun 2017 17:19:45 +0000 Received: from SN1NAM02FT001.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e44::200) by CY4PR02CA0043.outlook.office365.com (2603:10b6:903:117::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1199.15 via Frontend Transport; Thu, 29 Jun 2017 17:19:45 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.83 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.83; helo=xsj-pvapsmtpgw01; Received: from xsj-pvapsmtpgw01 (149.199.60.83) by SN1NAM02FT001.mail.protection.outlook.com (10.152.72.158) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1199.9 via Frontend Transport; Thu, 29 Jun 2017 17:19:45 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw01 with esmtp (Exim 4.63) (envelope-from ) id 1dQd6W-0005ye-Bq; Thu, 29 Jun 2017 10:19:44 -0700 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1dQd6W-0005IL-8c; Thu, 29 Jun 2017 10:19:44 -0700 Received: from xsj-pvapsmtp01 (xsj-smtp.xilinx.com [149.199.38.66]) by xsj-smtp-dlp2.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id v5THJZdq023005; Thu, 29 Jun 2017 10:19:35 -0700 Received: from [172.19.2.220] (helo=localhost.localdomain) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1dQd6N-0005Gc-Jk; Thu, 29 Jun 2017 10:19:35 -0700 From: Alistair Francis To: , , Date: Thu, 29 Jun 2017 10:16:35 -0700 Message-ID: X-Mailer: git-send-email 2.11.0 In-Reply-To: References: X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.1.0.1062-23164.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.60.83; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(39860400002)(39840400002)(39850400002)(39410400002)(39450400003)(39400400002)(2980300002)(438002)(199003)(189002)(9170700003)(2906002)(2950100002)(575784001)(39060400002)(118296001)(47776003)(9786002)(38730400002)(5660300001)(356003)(305945005)(50226002)(8936002)(81166006)(8676002)(76176999)(50986999)(48376002)(63266004)(189998001)(106466001)(36756003)(2201001)(33646002)(36386004)(54906002)(478600001)(50466002)(4326008)(5003940100001)(77096006)(107986001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR02MB2677; H:xsj-pvapsmtpgw01; FPR:; SPF:Pass; MLV:ovrnspm; A:1; MX:1; PTR:unknown-60-83.xilinx.com; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; SN1NAM02FT001; 1:vLZaIOh8j/UbEB6C+wz8Myk8Y/WdH/bnD5CjZxaL+w6meXdlPpaqzs4kEgVphFIuppjWH//m+WjH1tzZ3+ukvB1cEo0c6NNppQXZuQ//oPKFyGmJK37GkUywdBUXHCRd8k0M3YeJBM3qVEh29ISJOcD0WW2lSsU3SFpT97MBZukC1lZ9ueiiFr6099LUF0PJgK6EAXJBEUfdBcGhN8jQ38j3S5KiviVNE7CIKL7r3PAZe+tG3hGciZV6yIrFjdeKhOmWeSOzIB/jWKtqUG80tSLBMlqce1jxqwQ2wEltVNQOUk0R7QbIKCnS16gxc3J+TAkUpsLSGD6QOVnLuHKIQSGcOvXg4e99HnIA3pyXDBSxOPS5G6DvJpK0xh601PwFb0STSeCNlJCqbQVFo4mvV0maKwFf3DFL3sRsDeYEy/r8tt+KtoBU+PzXfJXxpxF6R9JRc6vlIPxYrLTVSCqRDMCBpswksMDj1Uo2ojEieddtUGJ7zItj5mHKiYWLaDlb148jjpvloDHta8S7KU01WtS6CbfUwD6BVgcK23EGmo2l0JTU5NwjqcxWd7mX2c0tXKPZHNOIG3H8KlI8Bdz7VXg2QIManafYVmUn09Jnn20my4pqBZzrXGJ2OslEQobwM23wPeev7os+k9pR0G403PVd4rzRgcEyYpWcCp54JNKwoaro0SbGXENHLEkemxGAzJIFMPpN3xFgwqBqXjioyu5bWAU935ONStuWy39MgRuyMAT8Ce+s0ehjaxzZGTnr9Rkfs+zsiDkg5CsEhNTs3k4i7Uw5qnCh+BYaU3zcYvnCV5K/XW08VvYI1JN+1cl9OTpjhLkg5gzatp0z0KtxD2wGk3GIn7Ln2jM/uQLpWnDNcJs5eGPQuiL3VhGgW37V6fpp3LRNF+oT8DsOvRp0AC4sZZjWoNXPVr60J4Nq0s8= MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e25e7b1a-177d-4c30-a983-08d4bf1309a4 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(8251501002)(2017030254075)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:CY4PR02MB2677; X-Microsoft-Exchange-Diagnostics: 1; CY4PR02MB2677; 3:SocD+9VRo1r0enuDj6OO11pN9kAGHXrztJm1mnLIeN0xeIPL+ErljgzxXW9GsRaWm3lr/aWHkZj+hCrrD4tpMwrvjyfs9hfrlHY9UovvBK9hvHSdHW8Gxwo0TN9HNGyrSvhoM22Y4P2YxJ+X7mLAiV9nvIo0FjWEO04DB5ohkWKBILWml1fiJKOswa9YjmPIRi9VIrISVTSNgm27yYhQiKhsNsMCTV9nuJvNpIlwRsD8nyGRd9TwrZHw/4MMYv5+zuYKKdBbIFqvzEnY3uf/Ib73tFvG6YLm9o/wovSFF25k2Ro6qISkx+UPR3El3yZgOSaBFy1BlUwtBt7+UzEPHRxslns1/0BLXdvGP2G0RerZEYrdv5OAPJYG8SGxDG7ngtSVvj6bp0Gjg7UKJIru23N3mncqnS+a5jv7qEfhwWoSsiMV9mmkaI0w3vtJ9R4nyNOyemUkCoTopmVFEYHdDuGkHtjkKgDaodd3iatOcmvEPlZUBKj4/odeg4qsPoaG73MqjCf7oWrdz4UupAxk+d5yUnhMw7gvCnBjF8t2J2i2RpmEOmhBYawoWYhYHlin6nDPT/8MtY4UB2aaRuLNZr/vPG6Hsv3+tsxhJJdHElZa8i/3AjEcuMaCVPg0waRGTEF2OFamiUOGS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LJ1Z3Pf787Txascu1sLL0EUnNhf4kySqSyEZPU1w5dhYSwu83Jn7PTWad6wSgv2yslxKOeF9hz5SJGMYn3YtH0EknPOFE9CdMeinLMjDfxTC8IS3csjeAtN9xo+R1KXw8eJXexhgP/xvs9Cacub08IuhpBg3lNQRBPSY0QvkoheQc1oderT8JjOtBsHbOS/IaR2vPDhXKTBrszFIS2ExL2YtkfpJIcVcY7MK0Tm5qu3ymcD3OaAqAl9Le1hSMAF2SQplWqBRsEwf3gYizneee1ShsID9vnF5HPBat+/HKvPT7ASLYHDwTY/MmzDDedgrp8GWC8eb4c0hntdNLbqHGXOyOU8PU+Y/OKyHN2WtNzHsTivkhcYbLScy1fXdNvkD++pH7IAY42Dw+aapEiGZ62ErMefOxcqr0FaoofNSToQ/hS X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(192813158149592); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(13016025)(5005006)(13018025)(8121501046)(100000703101)(100105400095)(3002001)(10201501046)(93006095)(93004095)(6055026)(6041248)(20161123558100)(20161123564025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123560025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY4PR02MB2677; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY4PR02MB2677; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR02MB2677; 4:xoCqHr9rveghLG4/31nD99T2Z9pi9oU/oPmALI8swI?= =?us-ascii?Q?+W9OV1r0xISXvfUxCuRS6lx/iPBAkbCIYC8JLxnSNhdqgNe1ho7YKJg8X1H4?= =?us-ascii?Q?XXBwR+HHaoxdigoZNzx+Z/MjNoqU1a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56KdScIJhI6Sv7mxGzTJeHvJcqmYiu1BoemWR6IUlMJmAIInzDCE+BTw+g?= =?us-ascii?Q?39j3piUAF71okqCfMZKCgbRZIOokGmbHjEhIN+pMEfSjye6/GvSxpUEn9rIy?= =?us-ascii?Q?q7T8Q+8PMNTTW6rRdioZXynahV17IaH/9TrR8qbX5vPbEHCtFPikW0fDAuKq?= =?us-ascii?Q?swQHfw94n8iC/HKsk0ADbvQsFup8B3S+YMKQkc1k5omQbKuQpzVCn1rO8Il5?= =?us-ascii?Q?OiTumGouS2LmA4p++szp/kdA8QsdegV+YxzQsuC4bwYQfK5I5OsfO4uDQ1aw?= =?us-ascii?Q?=3D=3D?= X-Forefront-PRVS: 0353563E2B X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR02MB2677; 23:eIVwgOzyTk4dDnkmRIhvHI+CEQnPjHn6J4P4YfSV1?= =?us-ascii?Q?RNIY3OCO+283zkDrMVCxBWK6EE3Wp60blWmJVEUkZiBohI6SpJ0dO8+ImgAJ?= =?us-ascii?Q?kWrZwhCr49nqKX8Pv6/M89q5M1CSE8m4LWT6xuDwTAm8nrOH7EPummbGo/PU?= =?us-ascii?Q?GW9HbURXC97BfKlbm3bASmdsga/BWBc5gFg+jZ+yhbWu5C8oXcVUOgSMb6Wk?= =?us-ascii?Q?OCWvSmiSMhQOY64E/eHzNpjlTgGLmtMMSO115mB7w66tHN8lkI4wXiPuiYZe?= =?us-ascii?Q?a8dNAu7s2cHpLje1jqIrZkNENKW/+QwEJngA9G88JxmhgZ4sbk2tF4KV0eBG?= =?us-ascii?Q?keE5GYxauZ/4fQZX1/VLDaMXQZWtPe+ELeMv0jORmCu8XET4Si8I2ubYdKnw?= =?us-ascii?Q?FHMtgJq/E8LN6p5WiR9GyrfIV58nd+xp0t8xGrTdt6CNONJKQadPUfY6Nc4E?= =?us-ascii?Q?uSFrjzTf7VVG83LGM+hyg0nqWkmZgFHd2D6YCXFKyxOYVB9KO4s3P2C2jX2V?= =?us-ascii?Q?kt/MsS4CLvFGIYZEjPwFm+uHOW9EyS6urTgxtV08law34Kn16usdSD0w0mNP?= =?us-ascii?Q?PfyZzWdZ+sGnAmYFKQJNGkoONdolYLi7qT2zDAKcRMKeBonaMDywSsSJ6d0t?= =?us-ascii?Q?/r7Pz+XOszdQWjIfU7TycZOixHYWy85TzvrBMIfTgZlf6Jh2JmBllchHS52d?= =?us-ascii?Q?o7yjdE4cRKU+9fewTQQbO/M9PQmWebOcPcJC8q+4hQicGF2sOvDjfY00DVVu?= =?us-ascii?Q?KgyIgyxZ60pY3ugHOh9AnjxjclKz1lKZ/STx5/u4pgq0be3Di86jfeKKP5rz?= =?us-ascii?Q?et8r8FWfuudXjQ/WYfypgUfux0eZGJliJneY62jOKy8BxEhdg2t0IqWGbvAK?= =?us-ascii?Q?YZfUj1UtnvvWqAs237cKHIYNSQA+ztZPeFynerAoG14x5KF6Zroa4qjindJ5?= =?us-ascii?Q?eWhBWdj6YQLKm3m1kTRBIrzDN+aHDtVepsmJVlRSFKQrdTNv3trd6E/cUX/e?= =?us-ascii?Q?RyD6Z3tDqFhNFCz+EgPjCY9bXRNUeXobQEvotwvKPvhKNpDDe5nmiJe3cjV6?= =?us-ascii?Q?KVDFyqaigA3xP04cmwaq8u7aib8y6QxT+7YzPZoTaa9kN0rc5GOktdrfAc5L?= =?us-ascii?Q?+wCYmxGEaA=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR02MB2677; 6:yP7LTeBODqibfJceCzGpvkWRZan+k62Ah2FEbKXd9J?= =?us-ascii?Q?8vXSK04IziOexR1Rb/2DvYm3YFpoJN805u2UE3ae27O7CDqc1rtjgVJU8iKg?= =?us-ascii?Q?AoNgse+4mhUBZU1qLSTa4PLAozhwZQ31N7ABdwQQFJkvEndGaSo4+Dp2c6Wl?= =?us-ascii?Q?wV9RA9mIjkduULUSSWk9xkYSf3EdVfGY0QJnWiANBhR1kTOHZCALLP9EnhDw?= =?us-ascii?Q?0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vyxKBO1uI7mivbLreSqcXNhzvA9DhWreTdUkSOq0baWoGtHBq30hrsFO6lfqTDMtrqIVOcQTw7F2IZrytWdLL5M4XkszsS1fIGEPps/PFX7ItOSTSp1CnaJu40FuvoQKDdJdyOStbaSAe7GwlJr5jaoCr71HVBYCgKh4nKjdJk8WegxEBf4MYB2SkPaFNLFziy5oms2Yx8fiJAPqLmuskfIhxGjaG6iNrnRu8rDAYdgwzLlT9Di0S62zmaMBN5sbQz1KWQbxRtzM4iaIQ+SHj7/BYhzt/9eFdUUDUU5rkDh3iT6ciwAZu2QT9RcjIN9rPNMy90eUMuBFN8VclmwHq3ypNwBDrOSIVNZZrKeZQe2R9D8eM8E9q9v1a/RPk= X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jun 2017 17:19:45.0183 (UTC) X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.60.83]; Helo=[xsj-pvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR02MB2677 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 104.47.36.52 Subject: [Qemu-devel] [PATCH v1 3/3] util/oslib-win32: Remove if conditional X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: edgar.iglesias@xilinx.com, philippe@mathieu-daude.net, qemu-block@nongnu.org, alistair.francis@xilinx.com, pbonzini@redhat.com, alistair23@gmail.com Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP The original ready < nhandles - 1 can be re-written as ready + 1 < nhandles which is the same confition that we are checking on the first itteration of the for loop. This means we can remove the if statement and let the for loop check the code. This also has the side effect of removing an invalid check as WAIT_OBJECT_0 was not subtracted from ready. Signed-off-by: Alistair Francis --- util/oslib-win32.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/util/oslib-win32.c b/util/oslib-win32.c index 7ec0f8e083..d42d695050 100644 --- a/util/oslib-win32.c +++ b/util/oslib-win32.c @@ -438,10 +438,8 @@ static int poll_rest(gboolean poll_msgs, HANDLE *handles, gint nhandles, if (timeout == 0 && nhandles > 1) { /* Remove the handle that fired */ int i; - if (ready < nhandles - 1) { - for (i = ready - WAIT_OBJECT_0 + 1; i < nhandles; i++) { - handles[i-1] = handles[i]; - } + for (i = ready - WAIT_OBJECT_0 + 1; i < nhandles; i++) { + handles[i-1] = handles[i]; } nhandles--; recursed_result = poll_rest(FALSE, handles, nhandles, fds, nfds, 0);