summaryrefslogtreecommitdiff
path: root/src/mem/ruby/system/NodePersistentTable.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/ruby/system/NodePersistentTable.cc')
-rw-r--r--src/mem/ruby/system/NodePersistentTable.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mem/ruby/system/NodePersistentTable.cc b/src/mem/ruby/system/NodePersistentTable.cc
index 0edd66c6b..4dd5c670f 100644
--- a/src/mem/ruby/system/NodePersistentTable.cc
+++ b/src/mem/ruby/system/NodePersistentTable.cc
@@ -181,7 +181,6 @@ int NodePersistentTable::countStarvingForAddress(const Address& address) const
int NodePersistentTable::countReadStarvingForAddress(const Address& address) const
{
- int count = 0;
if (m_map_ptr->exist(address)) {
NodePersistentTableEntry& entry = m_map_ptr->lookup(address);
return (entry.m_starving.count() - entry.m_request_to_write.count());