Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/cddl/osnet/sys/kern osnet: Delete dead #if 0 code u...



details:   https://anonhg.NetBSD.org/src/rev/c43a8e5845e9
branches:  trunk
changeset: 363947:c43a8e5845e9
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Fri Mar 18 23:32:14 2022 +0000

description:
osnet: Delete dead #if 0 code using hardclock_ticks.

diffstat:

 external/cddl/osnet/sys/kern/ddi.c |  16 ----------------
 1 files changed, 0 insertions(+), 16 deletions(-)

diffs (23 lines):

diff -r e3bf878b9a66 -r c43a8e5845e9 external/cddl/osnet/sys/kern/ddi.c
--- a/external/cddl/osnet/sys/kern/ddi.c        Fri Mar 18 16:06:18 2022 +0000
+++ b/external/cddl/osnet/sys/kern/ddi.c        Fri Mar 18 23:32:14 2022 +0000
@@ -675,19 +675,3 @@
        do_rmdirp(pn);
        PNBUF_PUT(pn);
 }
-
-#if 0
-clock_t
-ddi_get_lbolt()
-{
-
-       return hardclock_ticks;
-}
-
-int64_t
-ddi_get_lbolt64()
-{
-
-       return hardclock_ticks;
-}
-#endif



Home | Main Index | Thread Index | Old Index