summaryrefslogtreecommitdiffstats
path: root/sys/net/if_vlan.c
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2009-12-31 20:29:58 +0000
committerbrooks <brooks@FreeBSD.org>2009-12-31 20:29:58 +0000
commita5cc24440bfbf4dc6eeb27b3770d09132b85bd31 (patch)
tree5056962dae0f4e2a29ef2bc9e81b2303cf37d6a1 /sys/net/if_vlan.c
parent2521baf3fe6bd48029ce31d5a4a71014bf96f1d0 (diff)
downloadFreeBSD-src-a5cc24440bfbf4dc6eeb27b3770d09132b85bd31.zip
FreeBSD-src-a5cc24440bfbf4dc6eeb27b3770d09132b85bd31.tar.gz
The devices that supported EVFILT_NETDEV kqueue filters were removed in
r195175. Remove all definitions, documentation, and usage. fifo_misc.c: Remove all kqueue tests as fifo_io.c performs all those that would have remained. Reviewed by: rwatson MFC after: 3 weeks X-MFC note: don't change vlan_link_state() function signature
Diffstat (limited to 'sys/net/if_vlan.c')
-rw-r--r--sys/net/if_vlan.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/if_vlan.c b/sys/net/if_vlan.c
index 99f714e..1fd70d5 100644
--- a/sys/net/if_vlan.c
+++ b/sys/net/if_vlan.c
@@ -188,7 +188,7 @@ static int vlan_setmulti(struct ifnet *ifp);
static int vlan_unconfig(struct ifnet *ifp);
static int vlan_unconfig_locked(struct ifnet *ifp);
static int vlan_config(struct ifvlan *ifv, struct ifnet *p, uint16_t tag);
-static void vlan_link_state(struct ifnet *ifp, int link);
+static void vlan_link_state(struct ifnet *ifp);
static void vlan_capabilities(struct ifvlan *ifv);
static void vlan_trunk_capabilities(struct ifnet *ifp);
@@ -525,7 +525,7 @@ restart:
extern void (*vlan_input_p)(struct ifnet *, struct mbuf *);
/* For if_link_state_change() eyes only... */
-extern void (*vlan_link_state_p)(struct ifnet *, int);
+extern void (*vlan_link_state_p)(struct ifnet *);
static int
vlan_modevent(module_t mod, int type, void *data)
@@ -1231,7 +1231,7 @@ vlan_setflags(struct ifnet *ifp, int status)
/* Inform all vlans that their parent has changed link state */
static void
-vlan_link_state(struct ifnet *ifp, int link)
+vlan_link_state(struct ifnet *ifp)
{
struct ifvlantrunk *trunk = ifp->if_vlantrunk;
struct ifvlan *ifv;
OpenPOWER on IntegriCloud