summaryrefslogtreecommitdiff
path: root/NetworkPkg
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2016-03-18 20:41:40 +0100
committerHao Wu <hao.a.wu@intel.com>2016-07-14 15:51:39 +0800
commitd484fd2552d34b09c7de5819fba740d63ab5c62f (patch)
treef9baaf40cbe90dd6d19e35735593c28745431740 /NetworkPkg
parent95eea40039431b76a61bd39c5e745ce7c6beda3a (diff)
downloadedk2-platforms-d484fd2552d34b09c7de5819fba740d63ab5c62f.tar.xz
NetworkPkg: IpSecDxe: remove set but unused variables
Cc: Siyuan Fu <siyuan.fu@intel.com> Cc: Jiaxin Wu <jiaxin.wu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Fu Siyuan <siyuan.fu@intel.com> Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Jeff Fan <jeff.fan@intel.com> (cherry picked from commit aa5fc205ddf1cc5339196b411cc4afa196f3411d)
Diffstat (limited to 'NetworkPkg')
-rw-r--r--NetworkPkg/IpSecDxe/Ikev2/Utility.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/NetworkPkg/IpSecDxe/Ikev2/Utility.c b/NetworkPkg/IpSecDxe/Ikev2/Utility.c
index 4db7f3fbbe..5b26ba1d02 100644
--- a/NetworkPkg/IpSecDxe/Ikev2/Utility.c
+++ b/NetworkPkg/IpSecDxe/Ikev2/Utility.c
@@ -879,7 +879,6 @@ Ikev2ChildSaSilentDelete (
IKEV2_CHILD_SA_SESSION *ChildSession;
EFI_IPSEC_CONFIG_SELECTOR *LocalSelector;
EFI_IPSEC_CONFIG_SELECTOR *RemoteSelector;
- IKE_UDP_SERVICE *UdpService;
IPSEC_PRIVATE_DATA *Private;
if (IkeSaSession == NULL) {
@@ -891,7 +890,6 @@ Ikev2ChildSaSilentDelete (
ChildSession = NULL;
LocalSelector = NULL;
RemoteSelector = NULL;
- UdpService = IkeSaSession->SessionCommon.UdpService;
Private = IkeSaSession->SessionCommon.Private;