mem: Remove redundant allocateUncachedReadBuffer in cache
This patch removes the no-longer-needed allocateUncachedReadBuffer. Besides the checks it is exactly the same as allocateMissBuffer and thus provides no value.
This commit is contained in:
2
src/mem/cache/cache_impl.hh
vendored
2
src/mem/cache/cache_impl.hh
vendored
@@ -555,7 +555,7 @@ Cache<TagStore>::recvTimingReq(PacketPtr pkt)
|
||||
pkt->headerDelay;
|
||||
// Reset the timing of the packet.
|
||||
pkt->headerDelay = pkt->payloadDelay = 0;
|
||||
allocateUncachedReadBuffer(pkt, allocate_rd_buffer_time, true);
|
||||
allocateMissBuffer(pkt, allocate_rd_buffer_time, true);
|
||||
}
|
||||
assert(pkt->needsResponse()); // else we should delete it here??
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user