diff -r 39174cbb1471 -r 66dbe49370c6 src/mem/cache/cache.hh --- a/src/mem/cache/cache.hh Thu Aug 13 21:30:26 2015 +0100 +++ b/src/mem/cache/cache.hh Thu Aug 13 21:30:55 2015 +0100 @@ -343,13 +343,6 @@ bool invalidateVisitor(CacheBlk &blk); /** - * Squash all requests associated with specified thread. - * intended for use by I-cache. - * @param threadNum The thread to squash. - */ - void squash(int threadNum); - - /** * Generate an appropriate downstream bus request packet for the * given parameters. * @param cpu_pkt The upstream request that needs to be satisfied. diff -r 39174cbb1471 -r 66dbe49370c6 src/mem/cache/cache.cc --- a/src/mem/cache/cache.cc Thu Aug 13 21:30:26 2015 +0100 +++ b/src/mem/cache/cache.cc Thu Aug 13 21:30:55 2015 +0100 @@ -263,28 +263,6 @@ markInServiceInternal(mshr, pending_dirty_resp); } - -void -Cache::squash(int threadNum) -{ - bool unblock = false; - BlockedCause cause = NUM_BLOCKED_CAUSES; - - if (noTargetMSHR && noTargetMSHR->threadNum == threadNum) { - noTargetMSHR = NULL; - unblock = true; - cause = Blocked_NoTargets; - } - if (mshrQueue.isFull()) { - unblock = true; - cause = Blocked_NoMSHRs; - } - mshrQueue.squash(threadNum); - if (unblock && !mshrQueue.isFull()) { - clearBlocked(cause); - } -} - ///////////////////////////////////////////////////// // // Access path: requests coming in from the CPU side