cpu: Removing an unused variable in rename
authorFaissal Sleiman <Faissal.Sleiman@arm.com>
Thu, 17 Oct 2013 15:20:45 +0000 (10:20 -0500)
committerFaissal Sleiman <Faissal.Sleiman@arm.com>
Thu, 17 Oct 2013 15:20:45 +0000 (10:20 -0500)
src/cpu/o3/rename_impl.hh

index 38191ce36aab8b31ed498f1821067390aa5d1d11..db71893715ff4dbdfb99c38b8394b7a4d72ba751 100644 (file)
@@ -338,14 +338,11 @@ DefaultRename<Impl>::squash(const InstSeqNum &squash_seq_num, ThreadID tid)
     renameStatus[tid] = Squashing;
 
     // Squash any instructions from decode.
-    unsigned squashCount = 0;
-
     for (int i=0; i<fromDecode->size; i++) {
         if (fromDecode->insts[i]->threadNumber == tid &&
             fromDecode->insts[i]->seqNum > squash_seq_num) {
             fromDecode->insts[i]->setSquashed();
             wroteToTimeBuffer = true;
-            squashCount++;
         }
 
     }