style: eliminate equality tests with true and false
[gem5.git] / src / cpu / inorder / cpu.cc
index eecbd033ef0a5e12e678b2e79b9babb69034c21f..e966e8e83b1daa841dc18a2fdf69d0108b3c9b0b 100644 (file)
@@ -1763,7 +1763,7 @@ InOrderCPU::cleanUpRemovedInsts()
         // Clear if Non-Speculative
         if (inst->staticInst &&
             inst->seqNum == nonSpecSeqNum[tid] &&
-            nonSpecInstActive[tid] == true) {
+            nonSpecInstActive[tid]) {
             nonSpecInstActive[tid] = false;
         }