summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJonathan Armani <armani@cvs.openbsd.org>2010-04-05 08:11:35 +0000
committerJonathan Armani <armani@cvs.openbsd.org>2010-04-05 08:11:35 +0000
commitfa3fbf5c8b254e2f74e7f1aa9c4d5dc83045d609 (patch)
tree679fef2cc6887e73d272804441323cb432802840 /sys/dev
parent07b273e1ba8b46ea8e44739eed416b6116216d5d (diff)
Remove a useless usbd_get_interface_descriptor.
"iff you commit over the Hero" mk@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/if_urndis.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/usb/if_urndis.c b/sys/dev/usb/if_urndis.c
index 4d5def1fbb7..a5ab3760ba3 100644
--- a/sys/dev/usb/if_urndis.c
+++ b/sys/dev/usb/if_urndis.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_urndis.c,v 1.19 2010/03/25 19:39:34 mk Exp $ */
+/* $OpenBSD: if_urndis.c,v 1.20 2010/04/05 08:11:34 armani Exp $ */
/*
* Copyright (c) 2010 Jonathan Armani <armani@openbsd.org>
@@ -1408,8 +1408,6 @@ urndis_attach(struct device *parent, struct device *self, void *aux)
return;
}
- id = usbd_get_interface_descriptor(sc->sc_iface_ctl);
-
id = usbd_get_interface_descriptor(sc->sc_iface_data);
cd = usbd_get_config_descriptor(sc->sc_udev);
altcnt = usbd_get_no_alts(cd, id->bInterfaceNumber);