diff mbox

[edk2,17/35] NetworkPkg: IpSecDxe: remove set but unused variables

Message ID 1458815844-24793-18-git-send-email-lersek@redhat.com
State Accepted
Commit aa5fc205ddf1cc5339196b411cc4afa196f3411d
Headers show

Commit Message

Laszlo Ersek March 24, 2016, 10:37 a.m. UTC
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>

---
 NetworkPkg/IpSecDxe/Ikev2/Utility.c | 2 --
 1 file changed, 2 deletions(-)

-- 
1.8.3.1


_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
diff mbox

Patch

diff --git a/NetworkPkg/IpSecDxe/Ikev2/Utility.c b/NetworkPkg/IpSecDxe/Ikev2/Utility.c
index 16be09e14ad6..aa3e440a0e4b 100644
--- a/NetworkPkg/IpSecDxe/Ikev2/Utility.c
+++ b/NetworkPkg/IpSecDxe/Ikev2/Utility.c
@@ -877,7 +877,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) {
@@ -889,7 +888,6 @@  Ikev2ChildSaSilentDelete (
   ChildSession    = NULL;
   LocalSelector   = NULL;
   RemoteSelector  = NULL;
-  UdpService      = IkeSaSession->SessionCommon.UdpService;
 
   Private = IkeSaSession->SessionCommon.Private;