]> git.proxmox.com Git - mirror_edk2.git/commitdiff
NetworkPkg: Remove mZeroGuid definition in IpSecDxe
authorHao Wu <hao.a.wu@intel.com>
Tue, 7 Jul 2015 03:03:21 +0000 (03:03 +0000)
committerhwu1225 <hwu1225@Edk2>
Tue, 7 Jul 2015 03:03:21 +0000 (03:03 +0000)
mZeroGuid is defined but not used in IpSecDxe. All the header files in
IpSecDxe which expose mZeroGuid are not included externally as well.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17842 6f19259b-4bc3-4df7-8a09-765794883524

NetworkPkg/IpSecDxe/IkeCommon.c
NetworkPkg/IpSecDxe/IkeCommon.h

index 96e0d7930b5a530176d060062a69c0bfc6e0daee..6fc7c063538da76cdb0416a79b7f3398057d54c2 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Common operation of the IKE\r
   \r
 /** @file\r
   Common operation of the IKE\r
   \r
-  Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.<BR>\r
 \r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
 \r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
@@ -22,7 +22,6 @@
 // Initial the SPI\r
 //\r
 UINT32            mNextSpi  = IKE_SPI_BASE;\r
 // Initial the SPI\r
 //\r
 UINT32            mNextSpi  = IKE_SPI_BASE;\r
-EFI_GUID          mZeroGuid = { 0, 0, 0, { 0, 0, 0, 0, 0, 0, 0, 0 } };\r
 \r
 /**\r
   Call Crypto Lib to generate a random value with eight-octet length.\r
 \r
 /**\r
   Call Crypto Lib to generate a random value with eight-octet length.\r
index 683264250a22f7e3469dca709fbdf67179d2db8b..b88331cd86c00d6e2ea328fbc2ca7b41a87ff926 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Common operation of the IKE.\r
 \r
 /** @file\r
   Common operation of the IKE.\r
 \r
-  Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.<BR>\r
 \r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
 \r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
@@ -181,7 +181,6 @@ IkeSearchSpdEntry (
   IN EFI_IPSEC_SPD_SELECTOR             *SpdSel\r
   );\r
 \r
   IN EFI_IPSEC_SPD_SELECTOR             *SpdSel\r
   );\r
 \r
-extern EFI_GUID               mZeroGuid;\r
 extern MODP_GROUP             OakleyModpGroup[];\r
 extern IKE_ALG_GUID_INFO      mIPsecEncrAlgInfo[];\r
 extern IKE_ALG_GUID_INFO      mIPsecAuthAlgInfo[];\r
 extern MODP_GROUP             OakleyModpGroup[];\r
 extern IKE_ALG_GUID_INFO      mIPsecEncrAlgInfo[];\r
 extern IKE_ALG_GUID_INFO      mIPsecAuthAlgInfo[];\r