From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id B6B571A1E21 for ; Mon, 12 Sep 2016 19:26:28 -0700 (PDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga104.jf.intel.com with ESMTP; 12 Sep 2016 19:26:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,326,1470726000"; d="scan'208";a="1049409821" Received: from sfu5-mobl3.ccr.corp.intel.com ([10.239.192.229]) by orsmga002.jf.intel.com with ESMTP; 12 Sep 2016 19:26:21 -0700 From: Fu Siyuan To: edk2-devel@lists.01.org Cc: Wu Jiaxin , Zhang Lubo Date: Tue, 13 Sep 2016 10:26:15 +0800 Message-Id: <1473733575-6100-1-git-send-email-siyuan.fu@intel.com> X-Mailer: git-send-email 2.7.4.windows.1 Subject: [Patch] NetworkPkg: Remove redundant code in HTTP boot driver. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2016 02:26:28 -0000 Cc: Wu Jiaxin Cc: Zhang Lubo Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Fu Siyuan --- NetworkPkg/HttpBootDxe/HttpBootDhcp6.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/NetworkPkg/HttpBootDxe/HttpBootDhcp6.c b/NetworkPkg/HttpBootDxe/HttpBootDhcp6.c index 809accc..8478642 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); -- 2.7.4.windows.1