X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FBus%2FUsb%2FUsbBusDxe%2FUsbEnumer.c;fp=MdeModulePkg%2FBus%2FUsb%2FUsbBusDxe%2FUsbEnumer.c;h=8340b72de25c21aa68c14bd2365b9db3477bbff7;hp=74de7d5d5069ee0cab0000ed422cbc9ed36f9503;hb=20bcb757d2d85f59c749e004e580bc2e52a96459;hpb=1687559138f11d1693bcbb8a2cdfd76061c77e11 diff --git a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.c b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.c index 74de7d5d50..8340b72de2 100644 --- a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.c +++ b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbEnumer.c @@ -2,7 +2,7 @@ Usb bus enumeration support. -Copyright (c) 2007 - 2012, Intel Corporation. All rights reserved.
+Copyright (c) 2007 - 2013, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -814,9 +814,6 @@ UsbEnumerateNewDev ( return EFI_SUCCESS; ON_ERROR: - if (Address != Bus->MaxDevices) { - Bus->Devices[Address] = NULL; - } if (Child != NULL) { UsbFreeDevice (Child);