From: Steve Reinhardt Date: Fri, 27 Jul 2007 07:51:15 +0000 (-0400) Subject: cache: Get rid of unused variable. X-Git-Tag: m5_2.0_beta4~195^2~27 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=01c9d34a0b4bcef3d8cca12eaeb7753e376378a8;p=gem5.git cache: Get rid of unused variable. --HG-- extra : convert_revision : 394adc12fbd7ea10280a1b8d6bc3cb15ee019f27 --- 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();