summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_upgt.c
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2008-01-20 23:34:13 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2008-01-20 23:34:13 +0000
commite857c58068679c5342cfc10de033b197151fa293 (patch)
tree2d4b37674ec86e71a3ebf8aa15d035b02c49c442 /sys/dev/usb/if_upgt.c
parent6002829ec653a401ab020ccef94e49ac22dc131b (diff)
Remove obsolete rateset variables.
Diffstat (limited to 'sys/dev/usb/if_upgt.c')
-rw-r--r--sys/dev/usb/if_upgt.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/dev/usb/if_upgt.c b/sys/dev/usb/if_upgt.c
index 1030746a42e..010b1315cee 100644
--- a/sys/dev/usb/if_upgt.c
+++ b/sys/dev/usb/if_upgt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_upgt.c,v 1.24 2008/01/20 23:31:50 mglocker Exp $ */
+/* $OpenBSD: if_upgt.c,v 1.25 2008/01/20 23:34:12 mglocker Exp $ */
/*
* Copyright (c) 2007 Marcus Glocker <mglocker@openbsd.org>
@@ -166,14 +166,6 @@ static const struct usb_devno upgt_devs[] = {
{ USB_VENDOR_ZCOM, USB_PRODUCT_ZCOM_XG703A }
};
-/*
- * XXX For now just keep the device ratesets here.
- * It seems the device does hardware rate control based on those available
- * ratesets.
- */
-uint8_t rates_11g[] = { 0x0b, 0x0a, 0x09, 0x08, 0x07, 0x06, 0x04, 0x01 };
-uint8_t rates_11b[] = { 0x13, 0x13, 0x12, 0x11, 0x11, 0x10, 0x10, 0x10 };
-
int
upgt_match(struct device *parent, void *match, void *aux)
{