From 3c0956379cb42d9262363b0a70b26d1ad02b7fc3 Mon Sep 17 00:00:00 2001 From: Fu Siyuan Date: Tue, 13 Sep 2016 10:25:27 +0800 Subject: NetworkPkg: Remove redundant code in HTTP boot driver. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Fu Siyuan Reviewed-by: Sriram Subramanian Reviewed-by: Wu Jiaxin Reviewed-by: Zhang Lubo --- NetworkPkg/HttpBootDxe/HttpBootDhcp6.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'NetworkPkg/HttpBootDxe') diff --git a/NetworkPkg/HttpBootDxe/HttpBootDhcp6.c b/NetworkPkg/HttpBootDxe/HttpBootDhcp6.c index 809accc29b..847864203c 100644 --- a/NetworkPkg/HttpBootDxe/HttpBootDhcp6.c +++ b/NetworkPkg/HttpBootDxe/HttpBootDhcp6.c @@ -418,9 +418,6 @@ HttpBootDhcp6CallBack ( HTTP_BOOT_PRIVATE_DATA *Private; EFI_DHCP6_PACKET *SelectAd; EFI_STATUS Status; - if ((Dhcp6Event != Dhcp6RcvdAdvertise) && (Dhcp6Event != Dhcp6SelectAdvertise)) { - return EFI_SUCCESS; - } ASSERT (Packet != NULL); -- cgit v1.2.3