From: Faissal Sleiman Date: Thu, 17 Oct 2013 15:20:45 +0000 (-0500) Subject: cpu: Removing an unused variable in rename X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1746eb4a1149a5eace7afb0dc39748b0a7a1a7eb;p=gem5.git cpu: Removing an unused variable in rename --- diff --git a/src/cpu/o3/rename_impl.hh b/src/cpu/o3/rename_impl.hh index 38191ce36..db7189371 100644 --- a/src/cpu/o3/rename_impl.hh +++ b/src/cpu/o3/rename_impl.hh @@ -338,14 +338,11 @@ DefaultRename::squash(const InstSeqNum &squash_seq_num, ThreadID tid) renameStatus[tid] = Squashing; // Squash any instructions from decode. - unsigned squashCount = 0; - for (int i=0; isize; i++) { if (fromDecode->insts[i]->threadNumber == tid && fromDecode->insts[i]->seqNum > squash_seq_num) { fromDecode->insts[i]->setSquashed(); wroteToTimeBuffer = true; - squashCount++; } }