Skip to content

Commit

Permalink
x86/nmi: Drop unused declaration of proc_nmi_enabled()
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Thomas Weißschuh authored and Borislav Petkov (AMD) committed Mar 6, 2024
1 parent cad860b commit 774a86f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/x86/include/asm/nmi.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 774a86f

Please sign in to comment.