diff options
author | Philip Guenthe <guenther@cvs.openbsd.org> | 2012-06-02 00:11:17 +0000 |
---|---|---|
committer | Philip Guenthe <guenther@cvs.openbsd.org> | 2012-06-02 00:11:17 +0000 |
commit | 9b77a6ec7e09d4e464e549fa3b82c2349c2f69b6 (patch) | |
tree | 880b93e981c25c7819e7ab98486d0333e06a7f99 | |
parent | 5b92c2fed024b5724e79d310db697be9de78093e (diff) |
Delete diagnostic code that reports timeout adjustments on resume.
It was useful for tracking down the last devices which weren't deleting
their timeouts on suspend and recreating them on resume, but it's too
verbose to keep around.
noted by deraadt@
-rw-r--r-- | sys/kern/kern_timeout.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/sys/kern/kern_timeout.c b/sys/kern/kern_timeout.c index 1fdf1fe110f..d1986c7b95d 100644 --- a/sys/kern/kern_timeout.c +++ b/sys/kern/kern_timeout.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_timeout.c,v 1.34 2012/05/24 07:17:42 guenther Exp $ */ +/* $OpenBSD: kern_timeout.c,v 1.35 2012/06/02 00:11:16 guenther Exp $ */ /* * Copyright (c) 2001 Thomas Nordin <nordin@openbsd.org> * Copyright (c) 2000-2001 Artur Grabowski <art@openbsd.org> @@ -350,10 +350,6 @@ timeout_adjust_ticks(int adj) { struct timeout *to; struct circq *p; -#ifdef DDB - char *name; - db_expr_t offset; -#endif int new_ticks, b, old; /* adjusting the monotonic clock backwards would be a Bad Thing */ @@ -375,14 +371,6 @@ timeout_adjust_ticks(int adj) to->to_time = new_ticks; CIRCQ_REMOVE(&to->to_list); CIRCQ_INSERT(&to->to_list, &timeout_todo); - -#ifdef DDB - db_find_sym_and_offset((db_addr_t)to->to_func, &name, - &offset); - name = name ? name : "?"; - printf("adjusted timeout %6d -> %6d for %s\n", - old - ticks, to->to_time - new_ticks, name); -#endif } } ticks = new_ticks; |