Blame SOURCES/autofs-5.0.7-remove-debug-only-code-in-alarm-c.patch

304803
autofs-5.0.7 - remove debug only code in alarm.c
304803
304803
From: Ian Kent <raven@themaw.net>
304803
304803
This code is only ever used for "on-the-fly" debugging so just remove it.
304803
---
304803
 lib/alarm.c |   16 ----------------
304803
 1 file changed, 16 deletions(-)
304803
304803
diff --git a/lib/alarm.c b/lib/alarm.c
304803
index d5cdc05..0f04ef8 100755
304803
--- a/lib/alarm.c
304803
+++ b/lib/alarm.c
304803
@@ -40,22 +40,6 @@ do { \
304803
 		fatal(_alm_unlock); \
304803
 } while (0)
304803
 
304803
-void dump_alarms(void)
304803
-{
304803
-	struct list_head *head;
304803
-	struct list_head *p;
304803
-
304803
-	pthread_mutex_lock(&mutex);
304803
-	head = &alarms;
304803
-	list_for_each(p, head) {
304803
-		struct alarm *this;
304803
-
304803
-		this = list_entry(p, struct alarm, list);
304803
-		logmsg("alarm time = %d", this->time);
304803
-	}
304803
-	pthread_mutex_unlock(&mutex);
304803
-}
304803
-
304803
 /* Insert alarm entry on ordered list. */
304803
 int alarm_add(struct autofs_point *ap, time_t seconds)
304803
 {