summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2008-05-22 06:48:57 +0000
committerBrad Smith <brad@cvs.openbsd.org>2008-05-22 06:48:57 +0000
commit1f3376ba124a8431a83dc6feb636d201b61776e9 (patch)
tree7bd5583a3eb84bb70eb061993a51fdff8ae3b215 /sys
parent484c3a7bdbf1d54a184db5c091a5d6e9be9ebc57 (diff)
Remove unnecessary receive filter call from the attach hook. This is
already dealt with via txp_init(). ok dlg@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_txp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/pci/if_txp.c b/sys/dev/pci/if_txp.c
index 4f29b5cc7cf..dd6e9849ae1 100644
--- a/sys/dev/pci/if_txp.c
+++ b/sys/dev/pci/if_txp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_txp.c,v 1.87 2008/05/22 02:32:29 brad Exp $ */
+/* $OpenBSD: if_txp.c,v 1.88 2008/05/22 06:48:56 brad Exp $ */
/*
* Copyright (c) 2001
@@ -197,8 +197,6 @@ txp_attachhook(void *vsc)
return;
}
- txp_set_filter(sc);
-
p1 = htole16(p1);
sc->sc_arpcom.ac_enaddr[0] = ((u_int8_t *)&p1)[1];
sc->sc_arpcom.ac_enaddr[1] = ((u_int8_t *)&p1)[0];