summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>1995-06-12 00:09:42 +0000
committermycroft <mycroft@NetBSD.org>1995-06-12 00:09:42 +0000
commitd9fc8ef092eb67e4e07b9d3a16f6771d01202a2f (patch)
tree80bc177f7c8b615cd2234eb9de75d04d6814d393 /sys/dev/ic
parent5b1fada2d50facb8d71b35515d7a6a65366d6ee6 (diff)
Remove check for if_addrlist == 0; if_attach() always puts one address on
the list, so this is a noop.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/mb86960.c9
-rw-r--r--sys/dev/ic/mb86960var.h9
2 files changed, 0 insertions, 18 deletions
diff --git a/sys/dev/ic/mb86960.c b/sys/dev/ic/mb86960.c
index 6033ef058d0..92d73752ac9 100644
--- a/sys/dev/ic/mb86960.c
+++ b/sys/dev/ic/mb86960.c
@@ -1232,15 +1232,6 @@ fe_init(sc)
fe_dump(LOG_INFO, sc);
#endif
- /* We need an address. */
- if (ifp->if_addrlist == 0) {
-#if FE_DEBUG >= 1
- log(LOG_ERR, "%s: init() without any address\n",
- sc->sc_dev.dv_xname);
-#endif
- return;
- }
-
/* Start initializing 86960. */
s = splimp();
diff --git a/sys/dev/ic/mb86960var.h b/sys/dev/ic/mb86960var.h
index 6033ef058d0..92d73752ac9 100644
--- a/sys/dev/ic/mb86960var.h
+++ b/sys/dev/ic/mb86960var.h
@@ -1232,15 +1232,6 @@ fe_init(sc)
fe_dump(LOG_INFO, sc);
#endif
- /* We need an address. */
- if (ifp->if_addrlist == 0) {
-#if FE_DEBUG >= 1
- log(LOG_ERR, "%s: init() without any address\n",
- sc->sc_dev.dv_xname);
-#endif
- return;
- }
-
/* Start initializing 86960. */
s = splimp();