From b850e3b88397108fa7d1b3a41bb37624f5d4b5a3 Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Mon, 19 Mar 2012 13:54:15 +0000 Subject: [PATCH] Remove this - it's not needed as it's defined in ieee80211_freebsd.h. --- sys/dev/wtap/if_wtap.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/dev/wtap/if_wtap.c b/sys/dev/wtap/if_wtap.c index 948c1c4bb639..5b5d355b7579 100644 --- a/sys/dev/wtap/if_wtap.c +++ b/sys/dev/wtap/if_wtap.c @@ -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, const char name[IFNAMSIZ], vap->iv_bss->ni_txrate = 130; return vap; } -#undef msecs_to_ticks static void wtap_vap_delete(struct ieee80211vap *vap)