Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 May 2009 00:15:27 +0000 (UTC)
From:      Sam Leffler <sam@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r191908 - head/sys/dev/ath
Message-ID:  <200905080015.n480FRfd072493@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905080015.n480FRfd072493>