summaryrefslogtreecommitdiff
path: root/src/mem/cache/cache.cc
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2015-12-28 11:14:16 -0500
committerAndreas Hansson <andreas.hansson@arm.com>2015-12-28 11:14:16 -0500
commitf6525ff2213311afb83efef95ce02d023010d7b7 (patch)
tree5231c91a26452f8670f2633dd01c05df69098896 /src/mem/cache/cache.cc
parentfbf3987c7b60334bec7aaac848c0d778c0135213 (diff)
downloadgem5-f6525ff2213311afb83efef95ce02d023010d7b7.tar.xz
mem: Remove unused cache squash functionality
This patch removes the unused squash function from the MSHR queue, and the associated (and also unused) threadNum member from the MSHR.
Diffstat (limited to 'src/mem/cache/cache.cc')
-rw-r--r--src/mem/cache/cache.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mem/cache/cache.cc b/src/mem/cache/cache.cc
index 489f198c0..c10315499 100644
--- a/src/mem/cache/cache.cc
+++ b/src/mem/cache/cache.cc
@@ -807,9 +807,6 @@ Cache::recvTimingReq(PacketPtr pkt)
assert(pkt->req->masterId() < system->maxMasters());
mshr_hits[pkt->cmdToIndex()][pkt->req->masterId()]++;
- if (mshr->threadNum != 0/*pkt->req->threadId()*/) {
- mshr->threadNum = -1;
- }
// We use forward_time here because it is the same
// considering new targets. We have multiple
// requests for the same address here. It