From patchwork Thu Sep 8 13:58:44 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9321457 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 1646B60752 for ; Thu, 8 Sep 2016 14:01:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 073FE2973D for ; Thu, 8 Sep 2016 14:01:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EFE9229792; Thu, 8 Sep 2016 14:01:47 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B07042973D for ; Thu, 8 Sep 2016 14:01:43 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bhzrh-00030a-ML; Thu, 08 Sep 2016 13:59:41 +0000 Received: from mout.kundenserver.de ([217.72.192.73]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bhzr9-00026Q-My for linux-arm-kernel@lists.infradead.org; Thu, 08 Sep 2016 13:59:32 +0000 Received: from wuerfel.lan. ([78.43.20.153]) by mrelayeu.kundenserver.de (mreue102) with ESMTPA (Nemesis) id 0LZeo8-1bKzJF3hXQ-00lRNv; Thu, 08 Sep 2016 15:58:26 +0200 From: Arnd Bergmann To: Paolo Bonzini Subject: [PATCH] KVM: arm/arm64: arch_timer: remove unused error handling Date: Thu, 8 Sep 2016 15:58:44 +0200 Message-Id: <20160908135908.1312349-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:TPqp1Q335xmD6cCbRGeR57MLKhytj1Z8zZij3lOzCCDsrGMwpHq GFt9uWIj7eDdFw6OH07EEaLUc+IogHlifawb6dB5qA+14tVomaYfLwiUkFynEjPQmmF0k9Z QBEFhpfLUKQFaEf9g4GqzJuobfj/R25MA6Ua0Qnp8tMKSUY0tuvM7QDY/CGqtsq0hvxYuVV 1rGEULVCuksAsdyMPl6Qw== X-UI-Out-Filterresults: notjunk:1; V01:K0:7wPUjOBwxxI=:0+RrR2UhjDBRF7ujlR0l1/ OuDm3SJ9lOhQwQmWmd7L1pmVhtOjAvGQduAtvRdhi1a8sZeXlx2tunFahB1nahYD38bmA2jDf cU/omIKH/U0BYfA2G6od5NRjpAh/1/+p7GW+fYfeLpW9HJvvLvcfl/6kaW5kBTx0dOdEcVCwz RmewblFQDfk6IAavof6z6wqR718Q6Qx1TMadrIV2g5770ZrM+ZttNvSr3/jrVjMXLRRgyytxs Q2W9Up/IITbuC/kQIwjcgkLK6+uJ5n8MrwF92kXWQq12gvJey2tt4YeQwtp4+ZCNuilPLXwop 2Q/0NkpmRx5qyqV4soErDs6h8JFtqjDbQ592P4iivfXVR3MuXmvqqqotFAOXU8RY+ImYQ/0wb A/20eKcQzfnQyZHrq8F1WquXpxZzou4MZM/TcPzJnzlyEgYHAqPCRonq01bavpreeTw7m4kJ0 3nMop9TN4s/jU9cYH3omS0jdlVNGI6UueCGO62EKtkZY8cc38PmlUUxinxTmRTvKLU//Z5HF9 hdLLeHajCMqhvnxMnhfuKleRIyO8PGLH0HHwiGeAK7CDdG1oo6fAxzvKcNuiTpgUfv2f7t2mi 8pFhRVtU0aFXFZj9G+tlnQ2zKwqwkDIthAcz+FyI3HliNDMiQ2ZvVPB8Rre1LA1X0unlcH3XE 8gS1eCgiZP/M5C0Q1BZe4t0cy+xfJdt7boN2RoFfHdxCOQnqtbzgjKmwgn2nhA+kuOWI= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160908_065908_735188_A6AE712D X-CRM114-Status: GOOD ( 10.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kvm@vger.kernel.org, Arnd Bergmann , Eric Auger , Marc Zyngier , Andre Przywara , =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Thomas Gleixner , kvmarm@lists.cs.columbia.edu, Christoffer Dall MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP A cleanup removed the call to create_singlethread_workqueue(), but did not remove the code that was used in case it failed: virt/kvm/arm/arch_timer.c: In function 'kvm_timer_hyp_init': virt/kvm/arm/arch_timer.c:457:1: error: label 'out_free' defined but not used [-Werror=unused-label] This removes the now dead code too. Signed-off-by: Arnd Bergmann Fixes: 3706feacd007 ("KVM: Remove deprecated create_singlethread_workqueue") --- virt/kvm/arm/arch_timer.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/virt/kvm/arm/arch_timer.c b/virt/kvm/arm/arch_timer.c index 4309b60ebf17..46980a49a3bb 100644 --- a/virt/kvm/arm/arch_timer.c +++ b/virt/kvm/arm/arch_timer.c @@ -453,9 +453,6 @@ int kvm_timer_hyp_init(void) cpuhp_setup_state(CPUHP_AP_KVM_ARM_TIMER_STARTING, "AP_KVM_ARM_TIMER_STARTING", kvm_timer_starting_cpu, kvm_timer_dying_cpu); - goto out; -out_free: - free_percpu_irq(host_vtimer_irq, kvm_get_running_vcpus()); out: return err; }