From 3d1872b780cc6e028a554c7f7b5f6e04e98ab36b Mon Sep 17 00:00:00 2001 From: Dandan Bi Date: Wed, 7 Mar 2018 13:24:37 +0800 Subject: [PATCH] SecurityPkg/SmmTcg2PhysicalPresenceLib: Fix coding style issue Boolean values do not need to use explicit comparisons to TRUE or FALSE. Cc: Chao Zhang Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi Reviewed-by:Chao Zhang --- .../SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.c b/SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.c index dfef6c8ca0..6a4dce9198 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 -- 2.39.2