summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_atu.c
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2004-12-08 21:04:45 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2004-12-08 21:04:45 +0000
commit35a68b19e5410b94d9d1921e3d870197046d4e84 (patch)
tree31539356cba0028c9eed0a4742c1ac86a8f3aa5b /sys/dev/usb/if_atu.c
parent4daa9b0add2ec41220e3d40c851908dac01f3930 (diff)
remove the variables that used to make up the signal cache. nothing in atu
is using this now. from daan vreeken
Diffstat (limited to 'sys/dev/usb/if_atu.c')
-rw-r--r--sys/dev/usb/if_atu.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/usb/if_atu.c b/sys/dev/usb/if_atu.c
index 55271d06bf2..638134a69be 100644
--- a/sys/dev/usb/if_atu.c
+++ b/sys/dev/usb/if_atu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_atu.c,v 1.40 2004/12/06 11:33:30 dlg Exp $ */
+/* $OpenBSD: if_atu.c,v 1.41 2004/12/08 21:04:44 dlg Exp $ */
/*
* Copyright (c) 2003, 2004
* Daan Vreeken <Danovitsch@Vitsch.net>. All rights reserved.
@@ -1351,10 +1351,6 @@ USB_ATTACH(atu)
printf("%s: address %s\n", USBDEVNAME(sc->atu_dev),
ether_sprintf(ic->ic_myaddr));
- for (i=0; i<ATU_AVG_TIME; i++)
- sc->atu_signalarr[i] = 0;
- sc->atu_signaltotal = 0;
- sc->atu_signalptr = 0;
sc->atu_cdata.atu_tx_inuse = 0;
sc->atu_encrypt = ATU_WEP_OFF;
sc->atu_wepkeylen = ATU_WEP_104BITS;