Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp891902lqs; Tue, 5 Mar 2024 22:52:50 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXLPzPM3DZ4RTJKgFLwKZMW/+OAGYHxye/416fYYmEvzkxEFMI8tpjWel9NqRsPN1Y0kyJJNiHjjK2ZZrxL1YzFp6zi0lyxxEtCRi1g7Q== X-Google-Smtp-Source: AGHT+IH1Ig7IjJQIDin6Wjvfr307G2L/nL5I47dhaAy6tZQqG3Lb2NgJKuHyIiuC5PQn4I5WY4wx X-Received: by 2002:a17:90a:a893:b0:29a:9b11:9a5a with SMTP id h19-20020a17090aa89300b0029a9b119a5amr11695250pjq.43.1709707970626; Tue, 05 Mar 2024 22:52:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709707970; cv=pass; d=google.com; s=arc-20160816; b=avoDjmxSYCteo3lvSIUnGdeLwXx3LlrPYDoC6kw9FpRfWkWoS6CANEi7pdQuea3brn jTiAxkMSkWJVf1GMt6M5a7rMPaptbwMDKJNQmoqGyNBNMHh7GCnSvkpifiLmoqyMv2cS zeLszO6OHno53Y37spB5ZB6xPdTglqn3OVIM43gV01QsaKpirsRxBKZwcPm6/lD3czJz gk068zNr6VabKjiREn+Ntg/alChCRjjsDcse9cNPbwXMI9CTaqqdiaCxXqz4u61l/dfe hj+qpHhM32gQC/a2ag5vfQl93cboao5yt9yNKIOhlsvIQuifJiVfkaa+PBTVBId0J3Mm nNCQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:message-id:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:subject:date :from:dkim-signature; bh=pOkro7/JR3BNmK1KuN9LS5IDmjImk8AkjJ1oBj5z1U0=; fh=qka7fwo6uOOgTYP7lrQpOGunK8t0yZx827jTFqrq01E=; b=yZkBa60d6RKxCbcbJ4ZOb3U/cA+HO076zq66N4+gGrUa+2AUWLZPATO8JYwc1A/IhD LnN7wlORJ6ywIwyk3d4jt568WdjSox8RVK1Bzfhe+5lR1S8/PYvtXWbLaWyM3/uQQ1oY gcd98Z46ZzXYlIDt0MmfVYx0W6jII7rKNuOLTTyoiqEyfT+YoaHj4bSQj5kIV3DA0Z/s y9v4utjX8fPPdOArkFp5BfvbIxABT9iXXTN1/EjJ9njad6KQUOkVPFSGIZHd7/YlYvhA H87a0zs+ZwfL/ptRY6+IveYzIEMJyJT7gv0N8uVw5390RrjHijtsTUmmFUlcD0ECByHu T/gw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b="BQrNUg1/"; arc=pass (i=1 spf=pass spfdomain=weissschuh.net dkim=pass dkdomain=weissschuh.net); spf=pass (google.com: domain of linux-kernel+bounces-93391-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93391-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id ob16-20020a17090b391000b0029b70a01bb8si1338103pjb.63.2024.03.05.22.52.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 22:52:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-93391-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b="BQrNUg1/"; arc=pass (i=1 spf=pass spfdomain=weissschuh.net dkim=pass dkdomain=weissschuh.net); spf=pass (google.com: domain of linux-kernel+bounces-93391-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93391-linux.lists.archive=gmail.com@vger.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 30BDEB235C7 for ; Wed, 6 Mar 2024 06:51:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4EE785BAE1; Wed, 6 Mar 2024 06:50:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b="BQrNUg1/" Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) (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 A83A9171BB for ; Wed, 6 Mar 2024 06:50:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=159.69.126.157 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709707853; cv=none; b=sYv5srdr2GGlMqTa5uNKjandqtuMS6OSoTHW0+An8bmtqtdroMakcd/brO03aQLTcBeyIFdVY4VyyheZHCuCnEJpDYLJ/GqJCmRUY5Rwz49/Y1v4LQ66KjCBPGsJtvZZ6RWpLqNPdiVJPYtPOROqlQ+PMizm6z4Y73EInFjsUr0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709707853; c=relaxed/simple; bh=8BjGn9fcDjxa92vW5NdDP75CxusHyCT4O34v1ZpGAHc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=E9FG9ZZu7QXTeOH6iQtz76cfZHY+XIsRXPb8Cdly8h1wlbQux8wTShWEo1UocGSEazqfKWXJ3xmbzJjEZsIRIVRRoOVgyN/vlJRk+hdKOc0zJJS/S4tzoI9E9fdpYng1xHnAWUz8IRSvdNVM7AXO5fbanZVvVV0Z8dSpY0BU4pQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=weissschuh.net; spf=pass smtp.mailfrom=weissschuh.net; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b=BQrNUg1/; arc=none smtp.client-ip=159.69.126.157 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=weissschuh.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=weissschuh.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1709707845; bh=8BjGn9fcDjxa92vW5NdDP75CxusHyCT4O34v1ZpGAHc=; h=From:Date:Subject:To:Cc:From; b=BQrNUg1/1nSRcpAUqzJ1ItjSJGn4L+zJZ+OKvtSIcXmFrRv/u993UHWvudtvgUfyb Ur750q6G3UGVQZ7UO2Gaw/+Xy2GRKa80dpLBOaWwiv6j4WIg2DERS676g8ZC7pAmSo cbGnZlIuZd/63M865eVY+496/kntF/GNoDu76g5Y= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Date: Wed, 06 Mar 2024 07:50:29 +0100 Subject: [PATCH] x86/nmi: drop unused declaration of proc_nmi_enabled Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20240306-const-sysctl-prep-x86-v1-1-f9d1fa38dd2b@weissschuh.net> X-B4-Tracking: v=1; b=H4sIADQS6GUC/x2M2wpAQBBAf0XzbGosuf2KPLAGU1rakVby7zaPp 9M5Dyh7YYU2ecDzJSq7i5ClCdh1cAujTJHBkCkopxLt7vREvdWeGx6eDwx1iTwSNTSaai5yiG0 Us4T/2/Xv+wFejER9ZwAAAA== To: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" Cc: linux-kernel@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1709707844; l=983; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=8BjGn9fcDjxa92vW5NdDP75CxusHyCT4O34v1ZpGAHc=; b=d0NlgwWVo++RGHlapaUXxSPgvkKCCsilxNemr8ilYjryyjMQNmLjKkAe1GTW/3XfQfVMkyANW 7vw7/3PS/NrCgoqAkJhWWulO3LEAcqjgxYIHIsF9g2GJ5h9D9LYoJeF X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= The declaration is unused as the definition got deleted. Fixes: 5f2b0ba4d94b ("x86, nmi_watchdog: Remove the old nmi_watchdog"). Signed-off-by: Thomas Weißschuh --- arch/x86/include/asm/nmi.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/x86/include/asm/nmi.h b/arch/x86/include/asm/nmi.h index 5c5f1e56c404..41a0ebb699ec 100644 --- a/arch/x86/include/asm/nmi.h +++ b/arch/x86/include/asm/nmi.h @@ -14,9 +14,6 @@ extern void release_perfctr_nmi(unsigned int); extern int reserve_evntsel_nmi(unsigned int); extern void release_evntsel_nmi(unsigned int); -struct ctl_table; -extern int proc_nmi_enabled(struct ctl_table *, int , - void __user *, size_t *, loff_t *); extern int unknown_nmi_panic; #endif /* CONFIG_X86_LOCAL_APIC */ --- base-commit: 5847c9777c303a792202c609bd761dceb60f4eed change-id: 20240306-const-sysctl-prep-x86-eb0090b27f43 Best regards, -- Thomas Weißschuh