Remove debug info and hacks
@@ -637,15 +637,13 @@ PrelinkedInjectKext (
return Status;
}
- if (XmlNodePrepend (Context->KextList, "dict", NULL, NewInfoPlist) == NULL) {
+ if (XmlNodeAppend (Context->KextList, "dict", NULL, NewInfoPlist) == NULL) {
if (PrelinkedKext != NULL) {
InternalFreePrelinkedKext (PrelinkedKext);
}
return EFI_OUT_OF_RESOURCES;
}
- DEBUG ((DEBUG_WARN, "Result %u\n", XmlNodeChildren (Context->KextList)));
-
//
// Let other kexts depend on this one.
//
