summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2010-08-27 17:08:02 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2010-08-27 17:08:02 +0000
commite8ad753752758c2cfa85f8c08dd41f982b096c56 (patch)
tree8bb7235dfdb22a9f3ab77b7a8eb911512da40831 /sys/dev/pci
parentc766b87a799f8e51a14cd8938bbceb1dfe2b3d80 (diff)
remove the unused if_init callback in struct ifnet
ok deraadt@ henning@ claudio@
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_age.c3
-rw-r--r--sys/dev/pci/if_alc.c3
-rw-r--r--sys/dev/pci/if_ale.c3
-rw-r--r--sys/dev/pci/if_bce.c3
-rw-r--r--sys/dev/pci/if_et.c3
-rw-r--r--sys/dev/pci/if_ipw.c3
-rw-r--r--sys/dev/pci/if_iwi.c3
-rw-r--r--sys/dev/pci/if_iwn.c3
-rw-r--r--sys/dev/pci/if_jme.c3
-rw-r--r--sys/dev/pci/if_lii.c3
-rw-r--r--sys/dev/pci/if_nfe.c3
-rw-r--r--sys/dev/pci/if_se.c3
-rw-r--r--sys/dev/pci/if_vge.c3
-rw-r--r--sys/dev/pci/if_wpi.c3
14 files changed, 14 insertions, 28 deletions
diff --git a/sys/dev/pci/if_age.c b/sys/dev/pci/if_age.c
index 2bdb8ae629d..69bc9e2ad2a 100644
--- a/sys/dev/pci/if_age.c
+++ b/sys/dev/pci/if_age.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_age.c,v 1.11 2010/05/19 14:39:07 oga Exp $ */
+/* $OpenBSD: if_age.c,v 1.12 2010/08/27 17:08:00 jsg Exp $ */
/*-
* Copyright (c) 2008, Pyun YongHyeon <yongari@FreeBSD.org>
@@ -228,7 +228,6 @@ age_attach(struct device *parent, struct device *self, void *aux)
ifp = &sc->sc_arpcom.ac_if;
ifp->if_softc = sc;
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
- ifp->if_init = age_init;
ifp->if_ioctl = age_ioctl;
ifp->if_start = age_start;
ifp->if_watchdog = age_watchdog;
diff --git a/sys/dev/pci/if_alc.c b/sys/dev/pci/if_alc.c
index 1d1a63e1993..83805995029 100644
--- a/sys/dev/pci/if_alc.c
+++ b/sys/dev/pci/if_alc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_alc.c,v 1.6 2010/07/27 22:39:59 deraadt Exp $ */
+/* $OpenBSD: if_alc.c,v 1.7 2010/08/27 17:08:00 jsg Exp $ */
/*-
* Copyright (c) 2009, Pyun YongHyeon <yongari@FreeBSD.org>
* All rights reserved.
@@ -589,7 +589,6 @@ alc_attach(struct device *parent, struct device *self, void *aux)
ifp = &sc->sc_arpcom.ac_if;
ifp->if_softc = sc;
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
- ifp->if_init = alc_init;
ifp->if_ioctl = alc_ioctl;
ifp->if_start = alc_start;
ifp->if_watchdog = alc_watchdog;
diff --git a/sys/dev/pci/if_ale.c b/sys/dev/pci/if_ale.c
index b579bc15e40..0107de767a4 100644
--- a/sys/dev/pci/if_ale.c
+++ b/sys/dev/pci/if_ale.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ale.c,v 1.14 2010/07/27 00:03:03 deraadt Exp $ */
+/* $OpenBSD: if_ale.c,v 1.15 2010/08/27 17:08:00 jsg Exp $ */
/*-
* Copyright (c) 2008, Pyun YongHyeon <yongari@FreeBSD.org>
* All rights reserved.
@@ -512,7 +512,6 @@ ale_attach(struct device *parent, struct device *self, void *aux)
ifp = &sc->sc_arpcom.ac_if;
ifp->if_softc = sc;
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
- ifp->if_init = ale_init;
ifp->if_ioctl = ale_ioctl;
ifp->if_start = ale_start;
ifp->if_watchdog = ale_watchdog;
diff --git a/sys/dev/pci/if_bce.c b/sys/dev/pci/if_bce.c
index 9cf4a040872..706e9af1612 100644
--- a/sys/dev/pci/if_bce.c
+++ b/sys/dev/pci/if_bce.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bce.c,v 1.30 2010/07/27 21:40:40 deraadt Exp $ */
+/* $OpenBSD: if_bce.c,v 1.31 2010/08/27 17:08:00 jsg Exp $ */
/* $NetBSD: if_bce.c,v 1.3 2003/09/29 01:53:02 mrg Exp $ */
/*
@@ -371,7 +371,6 @@ bce_attach(struct device *parent, struct device *self, void *aux)
ifp->if_ioctl = bce_ioctl;
ifp->if_start = bce_start;
ifp->if_watchdog = bce_watchdog;
- ifp->if_init = bce_init;
IFQ_SET_READY(&ifp->if_snd);
ifp->if_capabilities = IFCAP_VLAN_MTU;
diff --git a/sys/dev/pci/if_et.c b/sys/dev/pci/if_et.c
index 31ed0ead832..d53b4fc53b3 100644
--- a/sys/dev/pci/if_et.c
+++ b/sys/dev/pci/if_et.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_et.c,v 1.20 2010/05/19 15:27:35 oga Exp $ */
+/* $OpenBSD: if_et.c,v 1.21 2010/08/27 17:08:00 jsg Exp $ */
/*
* Copyright (c) 2007 The DragonFly Project. All rights reserved.
*
@@ -251,7 +251,6 @@ et_attach(struct device *parent, struct device *self, void *aux)
ifp->if_softc = sc;
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
- ifp->if_init = et_init;
ifp->if_ioctl = et_ioctl;
ifp->if_start = et_start;
ifp->if_watchdog = et_watchdog;
diff --git a/sys/dev/pci/if_ipw.c b/sys/dev/pci/if_ipw.c
index b2407f5b57b..2a9d2474433 100644
--- a/sys/dev/pci/if_ipw.c
+++ b/sys/dev/pci/if_ipw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ipw.c,v 1.90 2010/08/12 16:59:29 damien Exp $ */
+/* $OpenBSD: if_ipw.c,v 1.91 2010/08/27 17:08:00 jsg Exp $ */
/*-
* Copyright (c) 2004-2008
@@ -263,7 +263,6 @@ ipw_attach(struct device *parent, struct device *self, void *aux)
ifp->if_softc = sc;
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
- ifp->if_init = ipw_init;
ifp->if_ioctl = ipw_ioctl;
ifp->if_start = ipw_start;
ifp->if_watchdog = ipw_watchdog;
diff --git a/sys/dev/pci/if_iwi.c b/sys/dev/pci/if_iwi.c
index 9dc4517fe6e..414f9d6f557 100644
--- a/sys/dev/pci/if_iwi.c
+++ b/sys/dev/pci/if_iwi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_iwi.c,v 1.107 2010/08/12 16:59:29 damien Exp $ */
+/* $OpenBSD: if_iwi.c,v 1.108 2010/08/27 17:08:00 jsg Exp $ */
/*-
* Copyright (c) 2004-2008
@@ -299,7 +299,6 @@ iwi_attach(struct device *parent, struct device *self, void *aux)
ifp->if_softc = sc;
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
- ifp->if_init = iwi_init;
ifp->if_ioctl = iwi_ioctl;
ifp->if_start = iwi_start;
ifp->if_watchdog = iwi_watchdog;
diff --git a/sys/dev/pci/if_iwn.c b/sys/dev/pci/if_iwn.c
index 3c0b0df7bce..15a95b7fd59 100644
--- a/sys/dev/pci/if_iwn.c
+++ b/sys/dev/pci/if_iwn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_iwn.c,v 1.102 2010/08/12 16:59:29 damien Exp $ */
+/* $OpenBSD: if_iwn.c,v 1.103 2010/08/27 17:08:00 jsg Exp $ */
/*-
* Copyright (c) 2007-2010 Damien Bergamini <damien.bergamini@free.fr>
@@ -533,7 +533,6 @@ iwn_attach(struct device *parent, struct device *self, void *aux)
ifp->if_softc = sc;
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
- ifp->if_init = iwn_init;
ifp->if_ioctl = iwn_ioctl;
ifp->if_start = iwn_start;
ifp->if_watchdog = iwn_watchdog;
diff --git a/sys/dev/pci/if_jme.c b/sys/dev/pci/if_jme.c
index bd75ce4cc31..4a855fddd68 100644
--- a/sys/dev/pci/if_jme.c
+++ b/sys/dev/pci/if_jme.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_jme.c,v 1.23 2010/08/07 03:50:02 krw Exp $ */
+/* $OpenBSD: if_jme.c,v 1.24 2010/08/27 17:08:00 jsg Exp $ */
/*-
* Copyright (c) 2008, Pyun YongHyeon <yongari@FreeBSD.org>
* All rights reserved.
@@ -606,7 +606,6 @@ jme_attach(struct device *parent, struct device *self, void *aux)
ifp = &sc->sc_arpcom.ac_if;
ifp->if_softc = sc;
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
- ifp->if_init = jme_init;
ifp->if_ioctl = jme_ioctl;
ifp->if_start = jme_start;
ifp->if_watchdog = jme_watchdog;
diff --git a/sys/dev/pci/if_lii.c b/sys/dev/pci/if_lii.c
index fd19da426dc..1b9bb2562ab 100644
--- a/sys/dev/pci/if_lii.c
+++ b/sys/dev/pci/if_lii.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_lii.c,v 1.27 2010/07/26 22:21:59 deraadt Exp $ */
+/* $OpenBSD: if_lii.c,v 1.28 2010/08/27 17:08:00 jsg Exp $ */
/*
* Copyright (c) 2007 The NetBSD Foundation.
@@ -271,7 +271,6 @@ lii_attach(struct device *parent, struct device *self, void *aux)
ifp->if_ioctl = lii_ioctl;
ifp->if_start = lii_start;
ifp->if_watchdog = lii_watchdog;
- ifp->if_init = lii_init;
IFQ_SET_READY(&ifp->if_snd);
if_attach(ifp);
diff --git a/sys/dev/pci/if_nfe.c b/sys/dev/pci/if_nfe.c
index 989b5959342..57692319a27 100644
--- a/sys/dev/pci/if_nfe.c
+++ b/sys/dev/pci/if_nfe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_nfe.c,v 1.91 2010/08/06 03:02:24 mlarkin Exp $ */
+/* $OpenBSD: if_nfe.c,v 1.92 2010/08/27 17:08:00 jsg Exp $ */
/*-
* Copyright (c) 2006, 2007 Damien Bergamini <damien.bergamini@free.fr>
@@ -338,7 +338,6 @@ nfe_attach(struct device *parent, struct device *self, void *aux)
ifp->if_ioctl = nfe_ioctl;
ifp->if_start = nfe_start;
ifp->if_watchdog = nfe_watchdog;
- ifp->if_init = nfe_init;
ifp->if_baudrate = IF_Gbps(1);
IFQ_SET_MAXLEN(&ifp->if_snd, NFE_IFQ_MAXLEN);
IFQ_SET_READY(&ifp->if_snd);
diff --git a/sys/dev/pci/if_se.c b/sys/dev/pci/if_se.c
index 624d6c0b2cb..45be6a4997e 100644
--- a/sys/dev/pci/if_se.c
+++ b/sys/dev/pci/if_se.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_se.c,v 1.2 2010/04/02 22:42:55 jsg Exp $ */
+/* $OpenBSD: if_se.c,v 1.3 2010/08/27 17:08:00 jsg Exp $ */
/*-
* Copyright (c) 2009, 2010 Christopher Zimmermann <madroach@zakweb.de>
@@ -628,7 +628,6 @@ se_attach(parent, self, aux)
ifp->if_start = se_start;
ifp->if_watchdog = se_watchdog;
ifp->if_baudrate = IF_Mbps(100);
- ifp->if_init = se_init;
IFQ_SET_MAXLEN(&ifp->if_snd, SE_TX_RING_CNT - 1);
IFQ_SET_READY(&ifp->if_snd);
bcopy(sc->sc_dev.dv_xname, ifp->if_xname, IFNAMSIZ);
diff --git a/sys/dev/pci/if_vge.c b/sys/dev/pci/if_vge.c
index b11a9014bee..21af7e90866 100644
--- a/sys/dev/pci/if_vge.c
+++ b/sys/dev/pci/if_vge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_vge.c,v 1.47 2010/02/24 21:44:12 kettenis Exp $ */
+/* $OpenBSD: if_vge.c,v 1.48 2010/08/27 17:08:00 jsg Exp $ */
/* $FreeBSD: if_vge.c,v 1.3 2004/09/11 22:13:25 wpaul Exp $ */
/*
* Copyright (c) 2004
@@ -787,7 +787,6 @@ vge_attach(struct device *parent, struct device *self, void *aux)
ifp->if_ioctl = vge_ioctl;
ifp->if_start = vge_start;
ifp->if_watchdog = vge_watchdog;
- ifp->if_init = vge_init;
ifp->if_baudrate = 1000000000;
#ifdef VGE_JUMBO
ifp->if_hardmtu = VGE_JUMBO_MTU;
diff --git a/sys/dev/pci/if_wpi.c b/sys/dev/pci/if_wpi.c
index 6458e6bbe61..b7f47d4a139 100644
--- a/sys/dev/pci/if_wpi.c
+++ b/sys/dev/pci/if_wpi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wpi.c,v 1.106 2010/08/12 16:59:29 damien Exp $ */
+/* $OpenBSD: if_wpi.c,v 1.107 2010/08/27 17:08:00 jsg Exp $ */
/*-
* Copyright (c) 2006-2008
@@ -301,7 +301,6 @@ wpi_attach(struct device *parent, struct device *self, void *aux)
ifp->if_softc = sc;
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
- ifp->if_init = wpi_init;
ifp->if_ioctl = wpi_ioctl;
ifp->if_start = wpi_start;
ifp->if_watchdog = wpi_watchdog;