[ros-diffs] [janderwald] 55412: [USBOHCI] - Revert 55411

janderwald at svn.reactos.org janderwald at svn.reactos.org
Sat Feb 4 15:04:27 UTC 2012


Author: janderwald
Date: Sat Feb  4 15:04:27 2012
New Revision: 55412

URL: http://svn.reactos.org/svn/reactos?rev=55412&view=rev
Log:
[USBOHCI]
- Revert 55411

Modified:
    branches/usb-bringup-trunk/drivers/usb/usbohci/hcd_controller.cpp

Modified: branches/usb-bringup-trunk/drivers/usb/usbohci/hcd_controller.cpp
URL: http://svn.reactos.org/svn/reactos/branches/usb-bringup-trunk/drivers/usb/usbohci/hcd_controller.cpp?rev=55412&r1=55411&r2=55412&view=diff
==============================================================================
--- branches/usb-bringup-trunk/drivers/usb/usbohci/hcd_controller.cpp [iso-8859-1] (original)
+++ branches/usb-bringup-trunk/drivers/usb/usbohci/hcd_controller.cpp [iso-8859-1] Sat Feb  4 15:04:27 2012
@@ -531,19 +531,7 @@
                 // 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:




More information about the Ros-diffs mailing list