diff mbox

[edk2,2/6] NetworkPkg: fix ASSERT_EFI_ERROR() typos

Message ID 1467120338-12587-3-git-send-email-lersek@redhat.com
State Accepted
Commit bb7a152c2cea9dcdc533507c22a8c20dcb85c123
Headers show

Commit Message

Laszlo Ersek June 28, 2016, 1:25 p.m. UTC
A number of code locations use

  ASSERT_EFI_ERROR (BooleanExpression)

instead of

  ASSERT (BooleanExpression)

Fix them.

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>

---

Notes:
    build tested only

 NetworkPkg/IpSecDxe/Ikev2/Sa.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
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/Sa.c b/NetworkPkg/IpSecDxe/Ikev2/Sa.c
index 74ef79c23719..4cbfac33b134 100644
--- a/NetworkPkg/IpSecDxe/Ikev2/Sa.c
+++ b/NetworkPkg/IpSecDxe/Ikev2/Sa.c
@@ -384,7 +384,7 @@  Ikev2InitPskParser (
     // 5. Generate Nr_b
     //
     IkeSaSession->NrBlock   = IkeGenerateNonce (IKE_NONCE_SIZE);
-    ASSERT_EFI_ERROR (IkeSaSession->NrBlock != NULL);
+    ASSERT (IkeSaSession->NrBlock != NULL);
     IkeSaSession->NrBlkSize = IKE_NONCE_SIZE;
 
     //