From 8cc9a982b587dd26e24bc5976c3012c2d253a13e Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Wed, 7 Apr 2010 21:04:41 +0000 Subject: [PATCH] [RAMDISK] - Remove another unnecessary hack svn path=/trunk/; revision=46771 --- reactos/drivers/storage/class/ramdisk/ramdisk.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/reactos/drivers/storage/class/ramdisk/ramdisk.c b/reactos/drivers/storage/class/ramdisk/ramdisk.c index 1ebe19664c8..6a353bc264e 100644 --- a/reactos/drivers/storage/class/ramdisk/ramdisk.c +++ b/reactos/drivers/storage/class/ramdisk/ramdisk.c @@ -2422,18 +2422,7 @@ DriverEntry(IN PDRIVER_OBJECT DriverObject, 0, &PhysicalDeviceObject); if (NT_SUCCESS(Status)) - { - // - // ReactOS Fix - // The ReactOS Plug and Play Manager is broken and does not create - // the required keys when reporting a detected device. - // We hack around this ourselves. - // - RtlCreateUnicodeString(&((PEXTENDED_DEVOBJ_EXTENSION) - PhysicalDeviceObject->DeviceObjectExtension) - ->DeviceNode->InstancePath, - L"Root\\UNKNOWN\\0000"); - + { // // Create the device object //