break;\r
}\r
}\r
+\r
FreePool (OpenInfoBuffer);\r
- \r
- if (Index < EntryCount) {\r
- //\r
- // If gEfiWinNtIoProtocolGuid is opened by one child device, return\r
- //\r
- return Status;\r
- }\r
- //\r
- // If gEfiWinNtIoProtocolGuid 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