diff options
author | 2013-11-20 08:53:27 +0000 | |
---|---|---|
committer | 2013-11-20 08:53:27 +0000 | |
commit | bc7021ba187fef3e02019e2eb57ec448378cfafb (patch) | |
tree | ba2e2896485c01e21f070c5031934d9d175c60b7 | |
parent | Instead of comparing the lower and higher addresses of all the multicast (diff) | |
download | wireguard-openbsd-bc7021ba187fef3e02019e2eb57ec448378cfafb.tar.xz wireguard-openbsd-bc7021ba187fef3e02019e2eb57ec448378cfafb.zip |
in_var.h is not needed.
-rw-r--r-- | sys/dev/usb/if_axen.c | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/sys/dev/usb/if_axen.c b/sys/dev/usb/if_axen.c index becc3d71d3c..72f660b072c 100644 --- a/sys/dev/usb/if_axen.c +++ b/sys/dev/usb/if_axen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_axen.c,v 1.4 2013/11/15 10:17:39 pirofti Exp $ */ +/* $OpenBSD: if_axen.c,v 1.5 2013/11/20 08:53:27 mpi Exp $ */ /* * Copyright (c) 2013 Yojiro UO <yuo@openbsd.org> @@ -18,7 +18,7 @@ /* * ASIX Electronics AX88178a USB 2.0 ethernet and AX88179 USB 3.0 Ethernet - * driver. + * driver. */ #include "bpfilter.h" @@ -46,7 +46,6 @@ #ifdef INET #include <netinet/in.h> #include <netinet/in_systm.h> -#include <netinet/in_var.h> #include <netinet/ip.h> #include <netinet/if_ether.h> #endif @@ -85,21 +84,21 @@ const struct axen_type axen_devs[] = { #define axen_lookup(v, p) ((struct axen_type *)usb_lookup(axen_devs, v, p)) -int axen_match(struct device *, void *, void *); -void axen_attach(struct device *, struct device *, void *); -int axen_detach(struct device *, int); -int axen_activate(struct device *, int); - -struct cfdriver axen_cd = { - NULL, "axen", DV_IFNET -}; - -const struct cfattach axen_ca = { - sizeof(struct axen_softc), - axen_match, - axen_attach, - axen_detach, - axen_activate, +int axen_match(struct device *, void *, void *); +void axen_attach(struct device *, struct device *, void *); +int axen_detach(struct device *, int); +int axen_activate(struct device *, int); + +struct cfdriver axen_cd = { + NULL, "axen", DV_IFNET +}; + +const struct cfattach axen_ca = { + sizeof(struct axen_softc), + axen_match, + axen_attach, + axen_detach, + axen_activate, }; int axen_tx_list_init(struct axen_softc *); |