From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1732BC55179 for ; Wed, 21 Oct 2020 16:56:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A647C223BF for ; Wed, 21 Oct 2020 16:56:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alien8.de header.i=@alien8.de header.b="d8kx5keL" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2503254AbgJUQ43 (ORCPT ); Wed, 21 Oct 2020 12:56:29 -0400 Received: from mail.skyhub.de ([5.9.137.197]:37064 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2503246AbgJUQ43 (ORCPT ); Wed, 21 Oct 2020 12:56:29 -0400 Received: from zn.tnic (p200300ec2f0c9a004cef083969089481.dip0.t-ipconnect.de [IPv6:2003:ec:2f0c:9a00:4cef:839:6908:9481]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 220711EC034B; Wed, 21 Oct 2020 18:56:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1603299388; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references; bh=hwZKqNwa1XZNoSHmp3qtbS9rLuv4lyMQf4OfbzE0kN0=; b=d8kx5keLvUKZakoUlBJv4BLSHulXGroKGd3iCOZwebUje3OAAjosqkzM7Yyx4g5uZEwn+7 /iDQRuTMiqYZK25Wek3T6npyvpWLjJQz4TygoLrk3r+um/2+R8wGsHBFwG8egmcq2wnU4O +gwrkeE4L1G6DujfiehtEigEFUEUkWI= From: Borislav Petkov To: X86 ML Cc: LKML Subject: [PATCH] x86/setup: Remove unused MCA variables Date: Wed, 21 Oct 2020 18:56:14 +0200 Message-Id: <20201021165614.23023-1-bp@alien8.de> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Borislav Petkov Commit bb8187d35f82 ("MCA: delete all remaining traces of microchannel bus support.") removed the remaining traces of Micro Channel Architecture support but one trace remained - three variables in setup.c which have been unused since 2012 at least. Drop them finally. Signed-off-by: Borislav Petkov --- arch/x86/kernel/setup.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index 84f581c91db4..a23130c86bdd 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c @@ -119,11 +119,6 @@ EXPORT_SYMBOL(boot_cpu_data); unsigned int def_to_bigsmp; -/* For MCA, but anyone else can use it if they want */ -unsigned int machine_id; -unsigned int machine_submodel_id; -unsigned int BIOS_revision; - struct apm_info apm_info; EXPORT_SYMBOL(apm_info); -- 2.21.0