summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mem/ruby/system/DMASequencer.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mem/ruby/system/DMASequencer.cc b/src/mem/ruby/system/DMASequencer.cc
index 4bee19b52..9ffd28cec 100644
--- a/src/mem/ruby/system/DMASequencer.cc
+++ b/src/mem/ruby/system/DMASequencer.cc
@@ -191,9 +191,7 @@ DMASequencer::dataCallback(const DataBlock & dblk, const Addr& address)
void
DMASequencer::ackCallback(const Addr& address)
{
- RequestTable::iterator i = m_RequestTable.find(address);
- assert(i != m_RequestTable.end());
-
+ assert(m_RequestTable.find(addres) != m_RequestTable.end());
issueNext(address);
}