From 3028d73e5a4073841fdfc94b1e984c92e8e8fa7a Mon Sep 17 00:00:00 2001 From: shenglei Date: Wed, 8 Aug 2018 16:19:52 +0800 Subject: [PATCH] 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 --- .../Universal/Network/Ip4Dxe/Ip4Config2Impl.c | 16 ---------------- 1 file changed, 16 deletions(-) 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 ; -} /**