fix a issue to pass ICC build

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4401 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qwang12 2007-12-18 07:26:18 +00:00
parent c4a62a12c2
commit 893ce03b01
1 changed files with 0 additions and 3 deletions

View File

@ -639,7 +639,6 @@ DhcpHandleSelect (
IN DHCP_PARAMETER *Para
)
{
EFI_DHCP4_HEADER *Head;
EFI_STATUS Status;
Status = EFI_SUCCESS;
@ -650,8 +649,6 @@ DhcpHandleSelect (
// 2. if it is a DHCP message, it must contains a server ID.
// Don't return a error for these two case otherwise the session is ended.
//
Head = &Packet->Dhcp4.Header;
if (!DHCP_IS_BOOTP (Para) &&
((Para->DhcpType != DHCP_MSG_OFFER) || (Para->ServerId == 0))) {
goto ON_EXIT;