NetworkPkg: Protocol Uninstallation Cleanup
Use UEFILib provided protocol uninstallation abstraction instead of direct API for a proper cleanup. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1444 Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ashish Singhal <ashishsingha@nvidia.com> Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>
This commit is contained in:
committed by
Jiaxin Wu
parent
5bc96263ea
commit
22b35e8bd1
@@ -631,16 +631,11 @@ IpSecDriverEntryPoint (
|
||||
return Status;
|
||||
|
||||
ON_UNINSTALL_IPSEC4_DB:
|
||||
gBS->UninstallMultipleProtocolInterfaces (
|
||||
ImageHandle,
|
||||
&gEfiDriverBindingProtocolGuid,
|
||||
&gIpSec4DriverBinding,
|
||||
&gEfiComponentName2ProtocolGuid,
|
||||
&gIpSecComponentName2,
|
||||
&gEfiComponentNameProtocolGuid,
|
||||
&gIpSecComponentName,
|
||||
NULL
|
||||
);
|
||||
EfiLibUninstallDriverBindingComponentName2 (
|
||||
&gIpSec4DriverBinding,
|
||||
&gIpSecComponentName,
|
||||
&gIpSecComponentName2
|
||||
);
|
||||
|
||||
ON_UNINSTALL_IPSEC:
|
||||
gBS->UninstallProtocolInterface (
|
||||
|
Reference in New Issue
Block a user