Author: cgutman
Date: Mon Feb 20 11:33:11 2012
New Revision: 55748
URL: 
http://svn.reactos.org/svn/reactos?rev=55748&view=rev
Log:
- Fix copy paste error
Modified:
    trunk/reactos/ntoskrnl/io/pnpmgr/pnpinit.c
Modified: trunk/reactos/ntoskrnl/io/pnpmgr/pnpinit.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/pnpmgr/pnpinit…
==============================================================================
--- trunk/reactos/ntoskrnl/io/pnpmgr/pnpinit.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/pnpmgr/pnpinit.c [iso-8859-1] Mon Feb 20 11:33:11 2012
@@ -467,25 +467,6 @@
         if (NT_SUCCESS(Status)) NtClose(TreeHandle);
     }
-    /* Open the root key now */
-    RtlInitUnicodeString(&KeyName,
L"\\REGISTRY\\MACHINE\\SYSTEM\\CURRENTCONTROLSET\\ENUM");
-    Status = IopOpenRegistryKeyEx(&EnumHandle,
-                                  NULL,
-                                  &KeyName,
-                                  KEY_ALL_ACCESS);
-    if (NT_SUCCESS(Status))
-    {
-        /* Create the root dev node */
-        RtlInitUnicodeString(&KeyName, REGSTR_VAL_ROOT_DEVNODE);
-        Status = IopCreateRegistryKeyEx(&TreeHandle,
-                                        EnumHandle,
-                                        &KeyName,
-                                        KEY_ALL_ACCESS,
-                                        REG_OPTION_NON_VOLATILE,
-                                        NULL);
-        NtClose(EnumHandle);
-        if (NT_SUCCESS(Status)) NtClose(TreeHandle);
-    }
     /* Create the root driver */
     Status = IoCreateDriver(NULL, PnpRootDriverEntry);
     if (!NT_SUCCESS(Status))