Skip to contentSkip to conversation

kernel/watchdog: remove unused declaration

PATCH New [email protected] 1 participant 1 message Jul 12, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 53/96 kernel/watchdog: remove unused declaration

From: Nicholas Piggin <[email protected]>
Subject: kernel/watchdog: remove unused declaration

Patch series "Improve watchdog config for arch watchdogs", v4.

A series to make the hardlockup watchdog more easily replaceable by arch code. The last patch provides some justification for why we want to do this (existing sparc watchdog is another that could benefit).

This patch (of 5):

Remove unused declaration.

---

 include/linux/nmi.h |    3 ---
 1 file changed, 3 deletions(-)
include/linux/nmi.h renamed from include/linux/nmi.h~watchdog-remove-unused-declaration +0 -3
diff -puN include/linux/nmi.h~watchdog-remove-unused-declaration include/linux/nmi.h
@@ -12,9 +12,6 @@ extern void touch_softlockup_watchdog_sc
 extern void touch_softlockup_watchdog(void);
 extern void touch_softlockup_watchdog_sync(void);
 extern void touch_all_softlockup_watchdogs(void);
-extern int proc_dowatchdog_thresh(struct ctl_table *table, int write,
-				  void __user *buffer,
-				  size_t *lenp, loff_t *ppos);
 extern unsigned int  softlockup_panic;
 extern unsigned int  hardlockup_panic;
 void lockup_detector_init(void);

_