aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/wtap
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2012-03-19 13:54:15 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2012-03-19 13:54:15 +0000
commitb850e3b88397108fa7d1b3a41bb37624f5d4b5a3 (patch)
treee8d066c5cf6c9b0c8359fc2c16a0236ab40cac6f /sys/dev/wtap
parentf1104f7190091950a175de7f66b159250e813844 (diff)
Notes
Diffstat (limited to 'sys/dev/wtap')
-rw-r--r--sys/dev/wtap/if_wtap.c4
1 files changed, 0 insertions, 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)