clang-tidy: Enable readability-simplify-boolean-expr check
This check looks for boolean expressions involving boolean
constants and simplifies them to use the appropriate boolean
expression directly.
Change-Id: I79d7e4486bd0ea5f5b9b5a1644af99384e41e251
Signed-off-by: Pavithra Barithaya <pavithrabarithaya07@gmail.com>
diff --git a/activation.cpp b/activation.cpp
index 8f4c4c0..cd44cc0 100644
--- a/activation.cpp
+++ b/activation.cpp
@@ -206,7 +206,7 @@
// can be re-programmed.
parent.createUpdateableAssociation(path);
- if (Activation::checkApplyTimeImmediate() == true)
+ if (Activation::checkApplyTimeImmediate())
{
info("Image Active and ApplyTime is immediate; rebooting BMC.");
Activation::rebootBmc();