summaryrefslogtreecommitdiff
path: root/src/mem/ruby/system/PersistentTable.cc
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2009-05-11 10:38:45 -0700
committerNathan Binkert <nate@binkert.org>2009-05-11 10:38:45 -0700
commite40b8e34c81349e12a373931ab01ec78f657d80d (patch)
tree0e76aa909040776af68b036edc143a91b163833b /src/mem/ruby/system/PersistentTable.cc
parent8b9f70b9e4315b2780d1bf0f5f5af1f275604a8c (diff)
downloadgem5-e40b8e34c81349e12a373931ab01ec78f657d80d.tar.xz
ruby: clean up a few warnings
Diffstat (limited to 'src/mem/ruby/system/PersistentTable.cc')
-rw-r--r--src/mem/ruby/system/PersistentTable.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mem/ruby/system/PersistentTable.cc b/src/mem/ruby/system/PersistentTable.cc
index 146b91fed..7f07251ce 100644
--- a/src/mem/ruby/system/PersistentTable.cc
+++ b/src/mem/ruby/system/PersistentTable.cc
@@ -182,7 +182,6 @@ int PersistentTable::countStarvingForAddress(const Address& address) const
int PersistentTable::countReadStarvingForAddress(const Address& address) const
{
- int count = 0;
if (m_map_ptr->exist(address)) {
PersistentTableEntry& entry = m_map_ptr->lookup(address);
return (entry.m_starving.count() - entry.m_request_to_write.count());