Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1631169lqm; Fri, 3 May 2024 01:14:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX6KhJJIobE8y6EJHZIh6NW+E1VUv5N7RFXm1n6beCNz4VPPTuCEui7z/c0PK0Xnc4aamTQquUBHfOVA5FmMVw1EpPTJtSTU1h0Gi/ZNA== X-Google-Smtp-Source: AGHT+IHKArqBo8ffD8yeMd83NKPsJHqf4K126Hk6cUvpLDjwSy7aKhYqSXJDgInJrP9t79rPKFMF X-Received: by 2002:a17:90b:10f:b0:2b1:314a:ea26 with SMTP id p15-20020a17090b010f00b002b1314aea26mr2822200pjz.7.1714724050623; Fri, 03 May 2024 01:14:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714724050; cv=pass; d=google.com; s=arc-20160816; b=qXK0phELKGan6rqstY24aIknz85cZfDBI7IxPcEaXImFzlg7Rc0g6J5lWfiRd8fNdO 2A7Mhj9yZlr3K7BFqJldCxLl2i6lz4BZBbmoJSZWb68nzyYo0KbWRpO5JYTFNrHZvwTf tVQjfkJvR4e3gpyePhQ96uofVZmHRJQUeeNqFnI3WyoTURPYkEUupEN4vAIq0TkV60GD gRsPoRaFjyW2Yf6MHmC/+u2DicUxfAbv9yF6amegVBTAWz83P0QyDDy1GAgsGGe/gTHu 3uqkJKJyXqjPtgos3M7AaTDgAPI1WDLwyuMrs11gR8MVbkxsNG2N/PJVcWRQwGQoOxkD P/LQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=xZkJvRfgJKR4YZRK6jHPI8uOnF/bg3eSuhbiegTVy/o=; fh=KsdebulFSTDgUgDP2OamvZF2uEg8nzoUdEjFl7UPhdc=; b=uYH0IttovY8ReckuP8o/lN3NTb6TkjhZxquj4SByfneiBV+xisF5PtYXffx+ngqHdB mFGr/KVwHtNlnPnOyitYk6xveubfCoexTv+PfQ5tDtBW86E08QhFLelKa7V1T1vkCPmc fRR3cli/FYyT0Tga4SJ9nwY6tV6plRh7AcQdfnLBs4vUn5TQydk6TJh4raVkoU8khSx9 i4y7xOQOU0BjzYxiPt2KmDCu8JJBa1+mEto4aNhX3i3TrQLtM6AmiXmAwYyVLnhnVqSw hM/FlKdSOZH9BefbXBXU7wNt5Vvl95RNUDS2Qzswp/ZCwSOKkgaW4Jimfpj/BB2/fepJ XOEw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UtlsxWpt; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-167359-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167359-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id mw5-20020a17090b4d0500b002b28cae7db4si2689327pjb.18.2024.05.03.01.14.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 01:14:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-167359-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UtlsxWpt; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-167359-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167359-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 2ACCD282FB0 for ; Fri, 3 May 2024 08:13:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6768814F9C2; Fri, 3 May 2024 08:12:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="UtlsxWpt" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8DA6114F13D; Fri, 3 May 2024 08:12:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714723945; cv=none; b=nWkZqxrMisL5B/K8p8ZOiuGHHFG88wSKVU9nqFWUIjja9Cfi6gu2mbXmaa/iK5+5ZrFS//VndwyBDINgEwwtyABLgZ2JOcZLN17NFCkpaLB/055MbK/eTrgoR/6BpLhVwo3lFu05xKQksZIV0XbxRovDFKReWsvrL4uB+3wPX6I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714723945; c=relaxed/simple; bh=S72kpyHE5KwejYv2p4il2qEZxWETqb6oKhqe7/jS/J4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=heB5H+qU/hKMZQYbvxffmPt9L57xT9+7mN6ErBmIrAo0ylBZLtZOx/zZ/kSpAEsSicAVLk9I2Nx8YRZpsp60q5ddd/9W7CD++ByO9Mzp2K151b1ki0nVPDVZzwEhvDxWvJ/Reb9sXlJjE+2mLkREb8YgW+o3Faowekz9fo/QofU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=UtlsxWpt; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D5AFBC4AF1B; Fri, 3 May 2024 08:12:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714723945; bh=S72kpyHE5KwejYv2p4il2qEZxWETqb6oKhqe7/jS/J4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UtlsxWpt7JYxL7mqgO8k87+lad+jPXKC5UBzw/EonERJEmY3BYFomFzpWgtQTifE1 CUD6bf4+HkWqbgBwBli48xIHacx8p97AUrMXAtgPeeJih2yaXzAnrQxoYIgFoEc4bE KbM04k9gsFoPz01s797sf1qnDQwjAJ9uz0Ei4MbkIo6gy3zAOiw2eyKkHNiQ+zSq89 KBtsKoQAbk0nhoahNd95GeVVUZuFzgemR+NsFKAKqMhsr2YfUo3zwvNtYgA432Hwcc bil3WVyHCLVji6Y8eORlMmpMeqRshN0MGU9t0eRg3KuFOr74Sxmt1+Wth3igzZ1pSX OE/HMwdHMYUGg== From: Arnd Bergmann To: linux-alpha@vger.kernel.org Cc: Arnd Bergmann , Richard Henderson , Ivan Kokshaysky , Matt Turner , Alexander Viro , Marc Zyngier , Linus Torvalds , "Paul E. McKenney" , linux-kernel@vger.kernel.org Subject: [PATCH 07/14] alpha: core_lca: take the unused functions out Date: Fri, 3 May 2024 10:11:18 +0200 Message-Id: <20240503081125.67990-8-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240503081125.67990-1-arnd@kernel.org> References: <20240503081125.67990-1-arnd@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Al Viro the only user had been drivers/char/h8.c, and that got taken out and shot back in 2004... Signed-off-by: Al Viro Signed-off-by: Arnd Bergmann --- arch/alpha/kernel/core_lca.c | 44 ------------------------------------ 1 file changed, 44 deletions(-) diff --git a/arch/alpha/kernel/core_lca.c b/arch/alpha/kernel/core_lca.c index 57e0750419f2..4616b11643d5 100644 --- a/arch/alpha/kernel/core_lca.c +++ b/arch/alpha/kernel/core_lca.c @@ -471,47 +471,3 @@ lca_machine_check(unsigned long vector, unsigned long la_ptr) } #endif /* CONFIG_VERBOSE_MCHECK */ } - -/* - * The following routines are needed to support the SPEED changing - * necessary to successfully manage the thermal problem on the AlphaBook1. - */ - -void -lca_clock_print(void) -{ - long pmr_reg; - - pmr_reg = LCA_READ_PMR; - - printk("Status of clock control:\n"); - printk("\tPrimary clock divisor\t0x%lx\n", LCA_GET_PRIMARY(pmr_reg)); - printk("\tOverride clock divisor\t0x%lx\n", LCA_GET_OVERRIDE(pmr_reg)); - printk("\tInterrupt override is %s\n", - (pmr_reg & LCA_PMR_INTO) ? "on" : "off"); - printk("\tDMA override is %s\n", - (pmr_reg & LCA_PMR_DMAO) ? "on" : "off"); - -} - -int -lca_get_clock(void) -{ - long pmr_reg; - - pmr_reg = LCA_READ_PMR; - return(LCA_GET_PRIMARY(pmr_reg)); - -} - -void -lca_clock_fiddle(int divisor) -{ - long pmr_reg; - - pmr_reg = LCA_READ_PMR; - LCA_SET_PRIMARY_CLOCK(pmr_reg, divisor); - /* lca_norm_clock = divisor; */ - LCA_WRITE_PMR(pmr_reg); - mb(); -} -- 2.39.2