Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Mar 2012 13:54:16 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r233184 - head/sys/dev/wtap
Message-ID:  <201203191354.q2JDsGOM071388@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Mon Mar 19 13:54:15 2012
New Revision: 233184
URL: http://svn.freebsd.org/changeset/base/233184

Log:
  Remove this - it's not needed as it's defined in ieee80211_freebsd.h.

Modified:
  head/sys/dev/wtap/if_wtap.c

Modified: head/sys/dev/wtap/if_wtap.c
==============================================================================
--- head/sys/dev/wtap/if_wtap.c	Mon Mar 19 13:51:38 2012	(r233183)
+++ head/sys/dev/wtap/if_wtap.c	Mon Mar 19 13:54:15 2012	(r233184)
@@ -305,9 +305,6 @@ wtap_bmiss(struct ieee80211vap *vap)
 	avp->av_bmiss(vap);
 }
 
-/* XXX */
-#define	msecs_to_ticks(ms)	(((ms) * hz) / 1000)
-
 static struct ieee80211vap *
 wtap_vap_create(struct ieee80211com *ic, const char name[IFNAMSIZ],
     int unit, enum ieee80211_opmode opmode, int flags,
@@ -349,7 +346,6 @@ wtap_vap_create(struct ieee80211com *ic,
 	vap->iv_bss->ni_txrate = 130;
 	return vap;
 }
-#undef	msecs_to_ticks
 
 static void
 wtap_vap_delete(struct ieee80211vap *vap)



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