The 'DisconnectController' function calls after
'UninstallMultipleProtocolInterfaces' are unnecessary, since
'DisconnectController' is called inside function
'UninstallMultipleProtocolInterfaces'.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
FreePool ((VOID *)(UINTN) PrivateData->StartingAddr);\r
}\r
\r
-\r
- gBS->DisconnectController (PrivateData->Handle, NULL, NULL);\r
-\r
FreePool (PrivateData->DevicePath);\r
FreePool (PrivateData);\r
ListEntryNum--;\r
FreePool ((VOID *)(UINTN) PrivateData->StartingAddr);\r
}\r
\r
- gBS->DisconnectController (PrivateData->Handle, NULL, NULL);\r
-\r
FreePool (PrivateData->DevicePath);\r
FreePool (PrivateData);\r
ListEntryNum--;\r