From e26760b3c607491083d6b68a5b51b718e8861133 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Wed, 7 Sep 2005 05:40:12 +0000 Subject: Remove FreeBSD/NetBSD ifdef mess. We are not likely to be doing a wholesale merge with them in future. very enthusiastic ok from reyk@ --- sys/net80211/ieee80211_node.c | 33 +-------------------------------- 1 file changed, 1 insertion(+), 32 deletions(-) (limited to 'sys/net80211/ieee80211_node.c') diff --git a/sys/net80211/ieee80211_node.c b/sys/net80211/ieee80211_node.c index 084cb68a816..44a1923898a 100644 --- a/sys/net80211/ieee80211_node.c +++ b/sys/net80211/ieee80211_node.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee80211_node.c,v 1.5 2005/05/25 07:40:49 reyk Exp $ */ +/* $OpenBSD: ieee80211_node.c,v 1.6 2005/09/07 05:40:11 jsg Exp $ */ /* $NetBSD: ieee80211_node.c,v 1.14 2004/05/09 09:18:47 dyoung Exp $ */ /*- @@ -34,15 +34,6 @@ */ #include -#if defined(__FreeBSD__) -__FBSDID("$FreeBSD: src/sys/net80211/ieee80211_node.c,v 1.22 2004/04/05 04:15:55 sam Exp $"); -#elif defined(__NetBSD__) -__KERNEL_RCSID(0, "$NetBSD: ieee80211_node.c,v 1.14 2004/05/09 09:18:47 dyoung Exp $"); -#endif - -#if defined(__NetBSD__) -#include "opt_inet.h" -#endif #include "bpfilter.h" @@ -55,25 +46,13 @@ __KERNEL_RCSID(0, "$NetBSD: ieee80211_node.c,v 1.14 2004/05/09 09:18:47 dyoung E #include #include #include -#ifdef __FreeBSD__ -#include -#endif #include #include -#ifdef __FreeBSD__ -#include -#endif - #include #include #include #include -#if defined(__FreeBSD__) -#include -#elif defined(__NetBSD__) -#include -#endif #include #if NBPFILTER > 0 @@ -82,19 +61,13 @@ __KERNEL_RCSID(0, "$NetBSD: ieee80211_node.c,v 1.14 2004/05/09 09:18:47 dyoung E #ifdef INET #include -#if defined(__FreeBSD__) || defined(__OpenBSD__) #include -#else -#include -#endif #endif #include #include -#ifdef __OpenBSD__ #include -#endif static struct ieee80211_node *ieee80211_node_alloc(struct ieee80211com *); static void ieee80211_node_free(struct ieee80211com *, struct ieee80211_node *); @@ -111,11 +84,7 @@ static struct ieee80211_node *ieee80211_alloc_node_helper(struct ieee80211com *) static void ieee80211_node_cleanup(struct ieee80211com *, struct ieee80211_node *); -#ifdef __NetBSD__ -MALLOC_DEFINE(M_80211_NODE, "80211node", "802.11 node state"); -#else #define M_80211_NODE M_DEVBUF -#endif void ieee80211_node_attach(struct ifnet *ifp) -- cgit v1.2.3