summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2009-05-08 00:15:27 +0000
committersam <sam@FreeBSD.org>2009-05-08 00:15:27 +0000
commit5d9a8a010d786ffa9c861454cfb7a1214a5a6719 (patch)
tree313253de06ddff737460b8b10c33648cb2edfd30
parent91894d014cdf2b3ce4fe4bed5e6aa6d95bb1981b (diff)
downloadFreeBSD-src-5d9a8a010d786ffa9c861454cfb7a1214a5a6719.zip
FreeBSD-src-5d9a8a010d786ffa9c861454cfb7a1214a5a6719.tar.gz
kill unused OS_GETUPTIME
-rw-r--r--sys/dev/ath/ah_osdep.c9
-rw-r--r--sys/dev/ath/ah_osdep.h2
2 files changed, 0 insertions, 11 deletions
diff --git a/sys/dev/ath/ah_osdep.c b/sys/dev/ath/ah_osdep.c
index b5880ee..ee9cd34 100644
--- a/sys/dev/ath/ah_osdep.c
+++ b/sys/dev/ath/ah_osdep.c
@@ -363,15 +363,6 @@ ath_hal_delay(int n)
DELAY(n);
}
-u_int32_t
-ath_hal_getuptime(struct ath_hal *ah)
-{
- struct bintime bt;
- getbinuptime(&bt);
- return (bt.sec * 1000) +
- (((uint64_t)1000 * (uint32_t)(bt.frac >> 32)) >> 32);
-}
-
void
ath_hal_memzero(void *dst, size_t n)
{
diff --git a/sys/dev/ath/ah_osdep.h b/sys/dev/ath/ah_osdep.h
index 32f2796..05cccff 100644
--- a/sys/dev/ath/ah_osdep.h
+++ b/sys/dev/ath/ah_osdep.h
@@ -70,8 +70,6 @@ extern void *ath_hal_memcpy(void *, const void *, size_t);
#define abs(_a) __builtin_abs(_a)
struct ath_hal;
-extern u_int32_t ath_hal_getuptime(struct ath_hal *);
-#define OS_GETUPTIME(_ah) ath_hal_getuptime(_ah)
/*
* Register read/write operations are either handled through
OpenPOWER on IntegriCloud