diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2006-10-10 17:24:03 -0400 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2006-10-10 17:24:03 -0400 |
commit | 549412b33361629b03d9d85dac3bb3efa2f07baf (patch) | |
tree | 03995c9f63fafe5483716f96c8fc78a71e3360d0 /src/mem/tport.cc | |
parent | 5f9aca531d348bdc90585c41dcf9bf33201cc6cf (diff) | |
download | gem5-549412b33361629b03d9d85dac3bb3efa2f07baf.tar.xz |
Changed the bus to use a bool to keep track of retries rather than a pointer
src/mem/tport.cc:
minor formatting tweak
--HG--
extra : convert_revision : 7391d142815c5876fcc0f991bd053e6a1781c101
Diffstat (limited to 'src/mem/tport.cc')
-rw-r--r-- | src/mem/tport.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mem/tport.cc b/src/mem/tport.cc index 66811b820..528067170 100644 --- a/src/mem/tport.cc +++ b/src/mem/tport.cc @@ -79,8 +79,7 @@ SimpleTimingPort::SendEvent::process() assert(port->outTiming >= 0); if (port->transmitList.size()) { port->transmitList.push_back(packet); - } - else if (port->sendTiming(packet)) { + } else if (port->sendTiming(packet)) { // send successful if (port->transmitList.size() == 0 && port->drainEvent) { port->drainEvent->process(); |