Skip to content

Commit 774a86f

Browse files
t-8chbp3tk0v
authored andcommitted
x86/nmi: Drop unused declaration of proc_nmi_enabled()
The declaration is unused as the definition got deleted. Fixes: 5f2b0ba ("x86, nmi_watchdog: Remove the old nmi_watchdog"). Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20240306-const-sysctl-prep-x86-v1-1-f9d1fa38dd2b@weissschuh.net
1 parent cad860b commit 774a86f

File tree

1 file changed

+0
-3
lines changed
  • arch/x86/include/asm

1 file changed

+0
-3
lines changed

arch/x86/include/asm/nmi.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ extern void release_perfctr_nmi(unsigned int);
1414
extern int reserve_evntsel_nmi(unsigned int);
1515
extern void release_evntsel_nmi(unsigned int);
1616

17-
struct ctl_table;
18-
extern int proc_nmi_enabled(struct ctl_table *, int ,
19-
void __user *, size_t *, loff_t *);
2017
extern int unknown_nmi_panic;
2118

2219
#endif /* CONFIG_X86_LOCAL_APIC */

0 commit comments

Comments
 (0)