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: 101827 Delivered-To: patch@linaro.org Received: by 10.140.106.11 with SMTP id d11csp859788qgf; Thu, 8 Sep 2016 06:59:48 -0700 (PDT) X-Received: by 10.98.59.145 with SMTP id w17mr41708179pfj.93.1473343188300; Thu, 08 Sep 2016 06:59:48 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gt5si28618706pac.58.2016.09.08.06.59.47; Thu, 08 Sep 2016 06:59:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758488AbcIHN7j (ORCPT + 27 others); Thu, 8 Sep 2016 09:59:39 -0400 Received: from mout.kundenserver.de ([217.72.192.73]:50870 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757940AbcIHN7f (ORCPT ); Thu, 8 Sep 2016 09:59:35 -0400 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 Cc: Arnd Bergmann , Christoffer Dall , Marc Zyngier , =?utf-8?b?UmFkaW0gS3LEjW3DocWZ?= , Andre Przywara , Eric Auger , Thomas Gleixner , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, linux-kernel@vger.kernel.org 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= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.9.0 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; }