From owner-svn-src-head@FreeBSD.ORG Fri May 8 00:15:27 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1B01106564A; Fri, 8 May 2009 00:15:27 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E061A8FC17; Fri, 8 May 2009 00:15:27 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n480FRVJ072495; Fri, 8 May 2009 00:15:27 GMT (envelope-from sam@svn.freebsd.org) Received: (from sam@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n480FRfd072493; Fri, 8 May 2009 00:15:27 GMT (envelope-from sam@svn.freebsd.org) Message-Id: <200905080015.n480FRfd072493@svn.freebsd.org> From: Sam Leffler Date: Fri, 8 May 2009 00:15:27 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r191908 - head/sys/dev/ath X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 May 2009 00:15:28 -0000 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