Author: sam
Date: Fri May 8 00:15:27 2009
New Revision: 191908
URL: http://svn.freebsd.org/changeset/base/191908
Log:
kill unused OS_GETUPTIME
Modified:
head/sys/dev/ath/ah_osdep.c
head/sys/dev/ath/ah_osdep.h
Modified: head/sys/dev/ath/ah_osdep.c
==============================================================================
--- head/sys/dev/ath/ah_osdep.c Thu May 7 23:34:41 2009 (r191907)
+++ head/sys/dev/ath/ah_osdep.c Fri May 8 00:15:27 2009 (r191908)
@@ -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)
{
Modified: head/sys/dev/ath/ah_osdep.h
==============================================================================
--- head/sys/dev/ath/ah_osdep.h Thu May 7 23:34:41 2009 (r191907)
+++ head/sys/dev/ath/ah_osdep.h Fri May 8 00:15:27 2009 (r191908)
@@ -70,8 +70,6 @@ extern void *ath_hal_memcpy(void *, cons
#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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"