summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/net/if_enc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/net/if_enc.c b/sys/net/if_enc.c
index d97e089b97e..52c5813b3b2 100644
--- a/sys/net/if_enc.c
+++ b/sys/net/if_enc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_enc.c,v 1.47 2007/12/20 02:53:02 brad Exp $ */
+/* $OpenBSD: if_enc.c,v 1.48 2010/04/09 20:59:07 oga Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
* Angelos D. Keromytis (kermit@csd.uch.gr) and
@@ -85,8 +85,6 @@ encattach(int nenc)
struct ifnet *ifp;
int i;
- bzero(encif, sizeof(encif));
-
for (i = 0; i < NENC; i++) {
ifp = &encif[i].sc_if;
snprintf(ifp->if_xname, sizeof ifp->if_xname, "enc%d", i);