Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758211AbZGCMrf (ORCPT ); Fri, 3 Jul 2009 08:47:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757944AbZGCMqC (ORCPT ); Fri, 3 Jul 2009 08:46:02 -0400 Received: from hera.kernel.org ([140.211.167.34]:59980 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757937AbZGCMqA (ORCPT ); Fri, 3 Jul 2009 08:46:00 -0400 Date: Fri, 3 Jul 2009 12:45:21 GMT From: tip-bot for Jaswinder Singh Rajput To: linux-tip-commits@vger.kernel.org Cc: linux-kernel@vger.kernel.org, hpa@zytor.com, mingo@redhat.com, yinghai@kernel.org, jaswinder@kernel.org, gorcunov@gmail.com, jaswinderrajput@gmail.com, tglx@linutronix.de, mingo@elte.hu Reply-To: mingo@redhat.com, hpa@zytor.com, linux-kernel@vger.kernel.org, yinghai@kernel.org, jaswinder@kernel.org, gorcunov@gmail.com, jaswinderrajput@gmail.com, tglx@linutronix.de, mingo@elte.hu In-Reply-To: <1246554239.2242.27.camel@jaswinder.satnam> References: <1246554239.2242.27.camel@jaswinder.satnam> Subject: [tip:x86/urgent] x86: Remove unused variable disable_x2apic Message-ID: Git-Commit-ID: 23d0cd8e718723f1ddda37637bc6b7c34caec64a X-Mailer: tip-git-log-daemon MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (hera.kernel.org [127.0.0.1]); Fri, 03 Jul 2009 12:45:22 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1592 Lines: 47 Commit-ID: 23d0cd8e718723f1ddda37637bc6b7c34caec64a Gitweb: http://git.kernel.org/tip/23d0cd8e718723f1ddda37637bc6b7c34caec64a Author: Jaswinder Singh Rajput AuthorDate: Thu, 2 Jul 2009 22:33:59 +0530 Committer: Ingo Molnar CommitDate: Fri, 3 Jul 2009 14:34:27 +0200 x86: Remove unused variable disable_x2apic setup_nox2apic() is writing 1 to disable_x2apic but no one is reading it. Signed-off-by: Jaswinder Singh Rajput Cc: Yinghai Lu Cc: Cyrill Gorcunov LKML-Reference: <1246554239.2242.27.camel@jaswinder.satnam> Signed-off-by: Ingo Molnar --- arch/x86/kernel/apic/apic.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c index 8c7c042..0a1c283 100644 --- a/arch/x86/kernel/apic/apic.c +++ b/arch/x86/kernel/apic/apic.c @@ -140,7 +140,6 @@ int x2apic_mode; #ifdef CONFIG_X86_X2APIC /* x2apic enabled before OS handover */ static int x2apic_preenabled; -static int disable_x2apic; static __init int setup_nox2apic(char *str) { if (x2apic_enabled()) { @@ -149,7 +148,6 @@ static __init int setup_nox2apic(char *str) return 0; } - disable_x2apic = 1; setup_clear_cpu_cap(X86_FEATURE_X2APIC); return 0; } -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/