summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDandan Bi <dandan.bi@intel.com>2018-03-07 13:24:37 +0800
committerLiming Gao <liming.gao@intel.com>2018-03-08 08:58:49 +0800
commit3d1872b780cc6e028a554c7f7b5f6e04e98ab36b (patch)
tree02e93f2c0c328b21c42a9d1d6ff3cbe8c3b3781e
parente01d92d43f019d6704e4998d9798313901181cb0 (diff)
downloadedk2-3d1872b780cc6e028a554c7f7b5f6e04e98ab36b.zip
edk2-3d1872b780cc6e028a554c7f7b5f6e04e98ab36b.tar.gz
edk2-3d1872b780cc6e028a554c7f7b5f6e04e98ab36b.tar.bz2
SecurityPkg/SmmTcg2PhysicalPresenceLib: Fix coding style issue
Boolean values do not need to use explicit comparisons to TRUE or FALSE. Cc: Chao Zhang <chao.b.zhang@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by:Chao Zhang <chao.b.zhang@intel.com>
-rw-r--r--SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.c b/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.c
index dfef6c8..6a4dce9 100644
--- a/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.c
+++ b/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.c
@@ -341,7 +341,7 @@ Tcg2PhysicalPresenceLibGetUserConfirmationStatusFunction (
break;
default:
- if (mIsTcg2PPVerLowerThan_1_3 == FALSE) {
+ if (!mIsTcg2PPVerLowerThan_1_3) {
if (OperationRequest < TCG2_PHYSICAL_PRESENCE_VENDOR_SPECIFIC_OPERATION) {
//
// TCG2 PP1.3 spec defined operations that are reserved or un-implemented