diff options
author | Fu Siyuan <siyuan.fu@intel.com> | 2016-09-13 10:25:27 +0800 |
---|---|---|
committer | Fu Siyuan <siyuan.fu@intel.com> | 2016-10-12 16:51:30 +0800 |
commit | 3c0956379cb42d9262363b0a70b26d1ad02b7fc3 (patch) | |
tree | e67e9c05f07d7e9b5bde46a2b53850a0a9916471 /NetworkPkg/HttpBootDxe | |
parent | 50d4be4f4e3d5beb2c1aa58853b92e3cc1f4cb9a (diff) | |
download | edk2-3c0956379cb42d9262363b0a70b26d1ad02b7fc3.tar.gz |
NetworkPkg: Remove redundant code in HTTP boot driver.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Sriram Subramanian <sriram-s@hpe.com>
Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Zhang Lubo <lubo.zhang@intel.com>
Diffstat (limited to 'NetworkPkg/HttpBootDxe')
-rw-r--r-- | NetworkPkg/HttpBootDxe/HttpBootDhcp6.c | 3 |
1 files changed, 0 insertions, 3 deletions
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);
|