From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.24; helo=mga09.intel.com; envelope-from=songpeng.li@intel.com; receiver=edk2-devel@lists.01.org Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (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 598B521B02822 for ; Wed, 15 Aug 2018 18:38:30 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Aug 2018 18:38:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,245,1531810800"; d="scan'208";a="254456741" Received: from songpeng.ccr.corp.intel.com ([10.239.158.47]) by fmsmga005.fm.intel.com with ESMTP; 15 Aug 2018 18:38:29 -0700 From: Songpeng Li To: edk2-devel@lists.01.org Date: Thu, 16 Aug 2018 09:37:52 +0800 Message-Id: <20180816013757.9680-1-songpeng.li@intel.com> X-Mailer: git-send-email 2.18.0.windows.1 Subject: [PATCH 0/5] NetworkPkg: Remove the redundant code and definition. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Aug 2018 01:38:31 -0000 Some redundant functions and definitions which are never calld have been removed. These fuctions are manually searched in source files to make sure that they are not used elsewhere. Songpeng Li (5): NetworkPkg: IScsiDxe: Remove the redundant code and definition. NetworkPkg: IpSecDxe: Remove the redundant code. NetworkPkg: TcpDxe: Remove the redundant code. NetworkPkg: TlsDxe: Remove the redundant definition. NetworkPkg: UefiPxeBcDxe: Remove the redundant code. NetworkPkg/IScsiDxe/IScsiDxe.inf | 1 - NetworkPkg/IScsiDxe/IScsiProto.c | 33 ------------ NetworkPkg/IpSecDxe/Ikev2/Payload.c | 18 ------- NetworkPkg/IpSecDxe/Ikev2/Utility.c | 76 ---------------------------- NetworkPkg/IpSecDxe/Ikev2/Utility.h | 67 ------------------------ NetworkPkg/TcpDxe/TcpOption.c | 32 +----------- NetworkPkg/TcpDxe/TcpOption.h | 18 +------ NetworkPkg/TlsDxe/TlsDxe.inf | 3 +- NetworkPkg/UefiPxeBcDxe/PxeBcDhcp6.c | 23 --------- NetworkPkg/UefiPxeBcDxe/PxeBcDhcp6.h | 10 ---- 10 files changed, 3 insertions(+), 278 deletions(-) -- 2.18.0.windows.1