summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2015-06-19 01:12:20 +0000
committerjiaxinwu <jiaxinwu@Edk2>2015-06-19 01:12:20 +0000
commit27f19717275af51d13df543c6627e1d743eb11cf (patch)
tree259e9a9dc36ce462f464ce1f74752dcca6f80a13 /MdeModulePkg/Universal
parent9d6d8582ad2c88e611046e4391df607431571cf6 (diff)
downloadedk2-platforms-27f19717275af51d13df543c6627e1d743eb11cf.tar.xz
MdeModulePkg: Remove two instances of 'DHCP_SERVICE *DhcpSb'
in function scope that are assigned but never used afterwards. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17664 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal')
-rw-r--r--MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Impl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Impl.c b/MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Impl.c
index ac4b11f094..821dfbb450 100644
--- a/MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Impl.c
+++ b/MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Impl.c
@@ -1188,7 +1188,6 @@ Dhcp4InstanceConfigUdpIo (
)
{
DHCP_PROTOCOL *Instance;
- DHCP_SERVICE *DhcpSb;
EFI_DHCP4_TRANSMIT_RECEIVE_TOKEN *Token;
EFI_UDP4_CONFIG_DATA UdpConfigData;
IP4_ADDR ClientAddr;
@@ -1197,7 +1196,6 @@ Dhcp4InstanceConfigUdpIo (
IP4_ADDR SubnetMask;
Instance = (DHCP_PROTOCOL *) Context;
- DhcpSb = Instance->Service;
Token = Instance->Token;
ZeroMem (&UdpConfigData, sizeof (EFI_UDP4_CONFIG_DATA));
@@ -1309,7 +1307,6 @@ PxeDhcpInput (
)
{
DHCP_PROTOCOL *Instance;
- DHCP_SERVICE *DhcpSb;
EFI_DHCP4_HEADER *Head;
NET_BUF *Wrap;
EFI_DHCP4_PACKET *Packet;
@@ -1320,7 +1317,6 @@ PxeDhcpInput (
Wrap = NULL;
Instance = (DHCP_PROTOCOL *) Context;
Token = Instance->Token;
- DhcpSb = Instance->Service;
//
// Don't restart receive if error occurs or DHCP is destroyed.