aboutsummaryrefslogtreecommitdiff
path: root/sys/net80211/ieee80211_output.c
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2015-05-25 20:06:49 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2015-05-25 20:06:49 +0000
commite14a2a4cf443ba26c32eda6a80cc7bebf7cfbb0c (patch)
tree160b6baa2d9506ee5ca4dbc9bf44ca52bb1323b6 /sys/net80211/ieee80211_output.c
parent272f6ade9b02b90e59822f3c81485d0c8a2c4700 (diff)
downloadsrc-e14a2a4cf443ba26c32eda6a80cc7bebf7cfbb0c.tar.gz
src-e14a2a4cf443ba26c32eda6a80cc7bebf7cfbb0c.zip
Cleanup compat shims for FreeBSD versions that predate 10.0-RELEASE.
There are no plans to merge anything save a trivial bugfix to stable/9. Discussed with: adrian
Notes
Notes: svn path=/head/; revision=283541
Diffstat (limited to 'sys/net80211/ieee80211_output.c')
-rw-r--r--sys/net80211/ieee80211_output.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/net80211/ieee80211_output.c b/sys/net80211/ieee80211_output.c
index aa8a24c67724..e1652ea74158 100644
--- a/sys/net80211/ieee80211_output.c
+++ b/sys/net80211/ieee80211_output.c
@@ -516,15 +516,9 @@ ieee80211_raw_output(struct ieee80211vap *vap, struct ieee80211_node *ni,
* connect bpf write calls to the 802.11 layer for injecting
* raw 802.11 frames.
*/
-#if __FreeBSD_version >= 1000031
int
ieee80211_output(struct ifnet *ifp, struct mbuf *m,
const struct sockaddr *dst, struct route *ro)
-#else
-int
-ieee80211_output(struct ifnet *ifp, struct mbuf *m,
- struct sockaddr *dst, struct route *ro)
-#endif
{
#define senderr(e) do { error = (e); goto bad;} while (0)
struct ieee80211_node *ni = NULL;