Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic GC slhci_hubd



details:   https://anonhg.NetBSD.org/src/rev/73ee95210e41
branches:  trunk
changeset: 344874:73ee95210e41
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon Apr 25 20:15:41 2016 +0000

description:
GC slhci_hubd

diffstat:

 sys/dev/ic/sl811hs.c |  15 ++-------------
 1 files changed, 2 insertions(+), 13 deletions(-)

diffs (36 lines):

diff -r f25bf4a03ac2 -r 73ee95210e41 sys/dev/ic/sl811hs.c
--- a/sys/dev/ic/sl811hs.c      Mon Apr 25 20:06:51 2016 +0000
+++ b/sys/dev/ic/sl811hs.c      Mon Apr 25 20:15:41 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sl811hs.c,v 1.48 2016/04/23 10:15:31 skrll Exp $       */
+/*     $NetBSD: sl811hs.c,v 1.49 2016/04/25 20:15:41 joerg Exp $       */
 
 /*
  * Not (c) 2007 Matthew Orgass
@@ -68,7 +68,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.48 2016/04/23 10:15:31 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.49 2016/04/25 20:15:41 joerg Exp $");
 
 #include "opt_slhci.h"
 
@@ -2938,17 +2938,6 @@
  * Data structures and routines to emulate the root hub.
  */
 
-static const usb_hub_descriptor_t slhci_hubd = {
-       .bDescLength = USB_HUB_DESCRIPTOR_SIZE,
-       .bDescriptorType = UDESC_HUB,
-       .bNbrPorts = 1,
-       .wHubCharacteristics = USETWD(UHD_PWR_INDIVIDUAL | UHD_OC_NONE),
-       .bPwrOn2PwrGood = 50,
-       .bHubContrCurrent = 0,
-       .DeviceRemovable = { 0x00 },
-       .PortPowerCtrlMask = { 0x00 }
-};
-
 static usbd_status
 slhci_clear_feature(struct slhci_softc *sc, unsigned int what)
 {



Home | Main Index | Thread Index | Old Index