From 01c9d34a0b4bcef3d8cca12eaeb7753e376378a8 Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Fri, 27 Jul 2007 03:51:15 -0400 Subject: [PATCH] cache: Get rid of unused variable. --HG-- extra : convert_revision : 394adc12fbd7ea10280a1b8d6bc3cb15ee019f27 --- src/mem/cache/cache_impl.hh | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/mem/cache/cache_impl.hh b/src/mem/cache/cache_impl.hh index a35d7b2a6..150cf80b7 100644 --- a/src/mem/cache/cache_impl.hh +++ b/src/mem/cache/cache_impl.hh @@ -943,7 +943,6 @@ Cache::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::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(); -- 2.30.2