style: eliminate equality tests with true and false
[gem5.git] / src / cpu / o3 / inst_queue_impl.hh
index 8eba028d6fca11e9161f143c038438b9d5e3d765..ab3861add4b214c3ebaeabd421ecc7f447aa7329 100644 (file)
@@ -1262,7 +1262,7 @@ InstructionQueue<Impl>::addToDependents(DynInstPtr &new_inst)
             // it be added to the dependency graph.
             if (src_reg >= numPhysRegs) {
                 continue;
-            } else if (regScoreboard[src_reg] == false) {
+            } else if (!regScoreboard[src_reg]) {
                 DPRINTF(IQ, "Instruction PC %s has src reg %i that "
                         "is being added to the dependency chain.\n",
                         new_inst->pcState(), src_reg);