Discussion:
[edk2] [PATCH] CryptoPkg: remove redundant parentheses.
Bruce Cran
2015-07-07 17:15:16 UTC
Permalink
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Bruce Cran <***@cran.org.uk>
---
CryptoPkg/Library/BaseCryptLib/Hash/CryptMd5.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CryptoPkg/Library/BaseCryptLib/Hash/CryptMd5.c b/CryptoPkg/Library/BaseCryptLib/Hash/CryptMd5.c
index dcf7691..e1c10e3 100644
--- a/CryptoPkg/Library/BaseCryptLib/Hash/CryptMd5.c
+++ b/CryptoPkg/Library/BaseCryptLib/Hash/CryptMd5.c
@@ -56,7 +56,7 @@ Md5Init (
//
// Check input parameters.
//
- if ((Md5Context == NULL)) {
+ if (Md5Context == NULL) {
return FALSE;
}
--
2.4.5
Long, Qin
2015-07-13 08:58:33 UTC
Permalink
Reviewed-by: Qin Long <***@intel.com>

(Bruce, thanks for catching this, And sorry for late feedback due to my recent leave)


Best Regards & Thanks,
LONG, Qin

-----Original Message-----
From: Bruce Cran [mailto:***@cran.org.uk]
Sent: Wednesday, July 8, 2015 1:15 AM
To: Long, Qin; edk2-***@lists.sourceforge.net
Cc: Bruce Cran
Subject: [PATCH] CryptoPkg: remove redundant parentheses.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Bruce Cran <***@cran.org.uk>
---
CryptoPkg/Library/BaseCryptLib/Hash/CryptMd5.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CryptoPkg/Library/BaseCryptLib/Hash/CryptMd5.c b/CryptoPkg/Library/BaseCryptLib/Hash/CryptMd5.c
index dcf7691..e1c10e3 100644
--- a/CryptoPkg/Library/BaseCryptLib/Hash/CryptMd5.c
+++ b/CryptoPkg/Library/BaseCryptLib/Hash/CryptMd5.c
@@ -56,7 +56,7 @@ Md5Init (
//
// Check input parameters.
//
- if ((Md5Context == NULL)) {
+ if (Md5Context == NULL) {
return FALSE;
}
--
2.4.5
Loading...