[USBOHCI]
authorJohannes Anderwald <johannes.anderwald@reactos.org>
Sat, 4 Feb 2012 15:04:27 +0000 (15:04 +0000)
committerJohannes Anderwald <johannes.anderwald@reactos.org>
Sat, 4 Feb 2012 15:04:27 +0000 (15:04 +0000)
- Revert 55411

svn path=/branches/usb-bringup-trunk/; revision=55412

drivers/usb/usbohci/hcd_controller.cpp

index c4539c6..dc0537c 100644 (file)
@@ -531,19 +531,7 @@ CHCDController::HandlePnp(
                 // stop lower device
                 //
                 Status = SyncForwardIrp(m_NextDeviceObject, Irp);
                 // stop lower device
                 //
                 Status = SyncForwardIrp(m_NextDeviceObject, Irp);
-                if (NT_SUCCESS(Status))
-                {
-                    //
-                    // detach device
-                    //
-                    IoDetachDevice(m_NextDeviceObject);
-                    IoDeleteDevice(DeviceObject);
-                }
-
             }
             }
-
-
-
             break;
         }
         case IRP_MN_QUERY_REMOVE_DEVICE:
             break;
         }
         case IRP_MN_QUERY_REMOVE_DEVICE: