diff options
-rw-r--r-- | sys/dev/ath/ah_osdep.c | 9 | ||||
-rw-r--r-- | sys/dev/ath/ah_osdep.h | 2 |
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 |