cache: Get rid of unused variable.
--HG-- extra : convert_revision : 394adc12fbd7ea10280a1b8d6bc3cb15ee019f27
This commit is contained in:
parent
f0fef8f850
commit
01c9d34a0b
1 changed files with 0 additions and 2 deletions
2
src/mem/cache/cache_impl.hh
vendored
2
src/mem/cache/cache_impl.hh
vendored
|
@ -943,7 +943,6 @@ Cache<TagStore>::handleSnoop(PacketPtr pkt, BlkType *blk,
|
|||
// handle it. save & restore packet src since it will get
|
||||
// rewritten to be relative to cpu-side bus (if any)
|
||||
bool alreadyResponded = pkt->memInhibitAsserted();
|
||||
bool upperResponse = false;
|
||||
if (is_timing) {
|
||||
Packet *snoopPkt = new Packet(pkt, true); // clear flags
|
||||
snoopPkt->setExpressSnoop();
|
||||
|
@ -978,7 +977,6 @@ Cache<TagStore>::handleSnoop(PacketPtr pkt, BlkType *blk,
|
|||
// we may end up modifying both the block state and the packet (if
|
||||
// we respond in atomic mode), so just figure out what to do now
|
||||
// and then do it later
|
||||
assert(!(blk->isDirty() && upperResponse));
|
||||
bool respond = blk->isDirty() && pkt->needsResponse();
|
||||
bool have_exclusive = blk->isWritable();
|
||||
bool invalidate = pkt->isInvalidate();
|
||||
|
|
Loading…
Reference in a new issue