]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UnixPkg/UnixSerialIoDxe/UnixSerialIo.c
Update the modules with the different module GUID to avoid the different modules...
[mirror_edk2.git] / UnixPkg / UnixSerialIoDxe / UnixSerialIo.c
index ff9bced4e98a7ffca598eaf725766b0e336198e3..e41e74964fda7ee8e4ed670f60a8344e19d669d6 100644 (file)
@@ -466,16 +466,7 @@ Returns:
     }\r
 \r
     FreePool (OpenInfoBuffer);\r
-    if (Index < EntryCount) {\r
-      //\r
-      // If gEfiUnixIoProtocolGuid is opened by one child device, return\r
-      //\r
-      return Status;\r
-    }\r
-    //\r
-    // If gEfiUnixIoProtocolGuid is not opened by any child device,\r
-    // go further to create child device handle based on RemainingDevicePath\r
-    //\r
+    return Status;\r
   }\r
 \r
   if (RemainingDevicePath == NULL) {\r