]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Usb/UsbBusDxe/UsbHub.h
MdeModulePkg UsbBusDxe: Fix wrong buffer length used to read hub desc
[mirror_edk2.git] / MdeModulePkg / Bus / Usb / UsbBusDxe / UsbHub.h
index 4e5fcd85e0af60204c2831a66a2f8f5eac48a63d..fe9f1f74c751ccc3649644b4e184b100671cc04f 100644 (file)
@@ -2,7 +2,7 @@
 \r
     The definition for USB hub.\r
 \r
-Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -115,18 +115,6 @@ typedef struct {
   UINT8           Filler[16];\r
 } EFI_USB_HUB_DESCRIPTOR;\r
 \r
-typedef struct {\r
-  UINT8           Length;\r
-  UINT8           DescType;\r
-  UINT8           NumPorts;\r
-  UINT16          HubCharacter;\r
-  UINT8           PwrOn2PwrGood;\r
-  UINT8           HubContrCurrent;\r
-  UINT8           HubHdrDecLat;\r
-  UINT8           HubDelay;\r
-  UINT8           DeviceRemovable;\r
-} EFI_USB_SUPER_SPEED_HUB_DESCRIPTOR;\r
-\r
 #pragma pack()\r
 \r
 \r