You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
813 B
36 lines
813 B
autofs-5.0.7 - remove debug only code in alarm.c |
|
|
|
From: Ian Kent <raven@themaw.net> |
|
|
|
This code is only ever used for "on-the-fly" debugging so just remove it. |
|
--- |
|
lib/alarm.c | 16 ---------------- |
|
1 file changed, 16 deletions(-) |
|
|
|
diff --git a/lib/alarm.c b/lib/alarm.c |
|
index d5cdc05..0f04ef8 100755 |
|
--- a/lib/alarm.c |
|
+++ b/lib/alarm.c |
|
@@ -40,22 +40,6 @@ do { \ |
|
fatal(_alm_unlock); \ |
|
} while (0) |
|
|
|
-void dump_alarms(void) |
|
-{ |
|
- struct list_head *head; |
|
- struct list_head *p; |
|
- |
|
- pthread_mutex_lock(&mutex); |
|
- head = &alarms; |
|
- list_for_each(p, head) { |
|
- struct alarm *this; |
|
- |
|
- this = list_entry(p, struct alarm, list); |
|
- logmsg("alarm time = %d", this->time); |
|
- } |
|
- pthread_mutex_unlock(&mutex); |
|
-} |
|
- |
|
/* Insert alarm entry on ordered list. */ |
|
int alarm_add(struct autofs_point *ap, time_t seconds) |
|
{
|
|
|