From: shenglei Date: Wed, 8 Aug 2018 08:19:52 +0000 (+0800) Subject: MdeModulePkg Ip4Dxe: Remove a redundant function X-Git-Tag: edk2-stable201903~1163 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=3028d73e5a4073841fdfc94b1e984c92e8e8fa7a MdeModulePkg Ip4Dxe: Remove a redundant function The function Ip4Config2OnDhcp4Event that is never called has been removed. https://bugzilla.tianocore.org/show_bug.cgi?id=1062 Cc: Star Zeng Cc: Eric Dong Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: shenglei Reviewed-by: Laszlo Ersek --- diff --git a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c index 043341d6e9..c19a72730e 100644 --- a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c +++ b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Config2Impl.c @@ -1628,22 +1628,6 @@ Ip4Config2InitIfInfo ( CopyMem (&IfInfo->HwAddress, &IpSb->SnpMode.CurrentAddress, IfInfo->HwAddressSize); } -/** - The event handle routine when DHCPv4 process is finished or is updated. - - @param[in] Event Not used. - @param[in] Context The pointer to the IP4 configuration instance data. - -**/ -VOID -EFIAPI -Ip4Config2OnDhcp4Event ( - IN EFI_EVENT Event, - IN VOID *Context - ) -{ - return ; -} /**