Revert "[VIDEOPRT] Fix updating of new registry path values"

This reverts commit ecf3416f49.

This commit was meant to fix CORE-17688. While its effectively fixed
the problem, it introduced another regression CORE-17719.

In the mean time, commit c05a45e17e fixed
things properly.

CORE-17719
This commit is contained in:
Hervé Poussineau 2021-12-08 18:36:34 +01:00
parent ee3659d5d5
commit 5dc56dd1d6

View file

@ -557,7 +557,6 @@ IntCreateNewRegistryPath(
ERR_(VIDEOPRT, "Failed create key '%wZ'\n", &DeviceExtension->NewRegistryPath);
return Status;
}
}
/* Open the new key */
InitializeObjectAttributes(&ObjectAttributes,
@ -592,6 +591,7 @@ IntCreateNewRegistryPath(
/* Close the key handles */
ObCloseHandle(SettingsKey, KernelMode);
ObCloseHandle(NewKey, KernelMode);
}
return Status;
}