From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 4234B1A1E0B for ; Tue, 13 Sep 2016 01:05:12 -0700 (PDT) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP; 13 Sep 2016 01:05:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,327,1470726000"; d="scan'208";a="1055217884" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga002.fm.intel.com with ESMTP; 13 Sep 2016 01:05:10 -0700 Received: from fmsmsx124.amr.corp.intel.com (10.18.125.39) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 13 Sep 2016 01:05:09 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx124.amr.corp.intel.com (10.18.125.39) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 13 Sep 2016 01:05:09 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.102]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.91]) with mapi id 14.03.0248.002; Tue, 13 Sep 2016 16:05:06 +0800 From: "Wu, Jiaxin" To: "Fu, Siyuan" , "edk2-devel@lists.01.org" CC: "Zhang, Lubo" Thread-Topic: [Patch] NetworkPkg: Remove redundant code in HTTP boot driver. Thread-Index: AQHSDWY+OW2e/tqNLE60FXkGqXspBKB3EDzw Date: Tue, 13 Sep 2016 08:05:06 +0000 Message-ID: <895558F6EA4E3B41AC93A00D163B7274137FBE59@SHSMSX103.ccr.corp.intel.com> References: <1473733575-6100-1-git-send-email-siyuan.fu@intel.com> In-Reply-To: <1473733575-6100-1-git-send-email-siyuan.fu@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMTZlMzgzODQtNWYyNy00MmFmLThmN2YtYzJiN2QwMDcwZDA2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IjVXdWJzXC9UeEF0cVwvY01pVHQ3Zm02UElIRU9HNmJJSHlFR0lKQkVtVkVjbz0ifQ== x-ctpclassification: CTP_IC x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [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 08:05:12 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-By: Wu Jiaxin Best Regards! Jiaxin > -----Original Message----- > From: Fu, Siyuan > Sent: Tuesday, September 13, 2016 10:26 AM > To: edk2-devel@lists.01.org > Cc: Wu, Jiaxin ; Zhang, Lubo > Subject: [Patch] NetworkPkg: Remove redundant code in HTTP boot driver. >=20 > 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(-) >=20 > 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 !=3D Dhcp6RcvdAdvertise) && (Dhcp6Event !=3D > Dhcp6SelectAdvertise)) { > - return EFI_SUCCESS; > - } >=20 > ASSERT (Packet !=3D NULL); >=20 > -- > 2.7.4.windows.1