diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2014-09-01 16:55:42 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2014-09-01 16:55:42 -0500 |
commit | 00dbadcbb09c51b8d05a22c21193b55d7e9a0cf1 (patch) | |
tree | fc8e8e99d2f1e48176e0f00c7cf3c567aa5ddbec /src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.cc | |
parent | cc2cc588693bb73b1892aea82fd0ac9729196f25 (diff) | |
download | gem5-00dbadcbb09c51b8d05a22c21193b55d7e9a0cf1.tar.xz |
ruby: network: move getNumNodes() to base class
All the implementations were doing the same things.
Diffstat (limited to 'src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.cc')
-rw-r--r-- | src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.cc b/src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.cc index 6de60b285..baf6a9687 100644 --- a/src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.cc +++ b/src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.cc @@ -108,15 +108,10 @@ GarnetNetwork_d::init() GarnetNetwork_d::~GarnetNetwork_d() { - for (int i = 0; i < m_nodes; i++) { - deletePointers(m_toNetQueues[i]); - deletePointers(m_fromNetQueues[i]); - } deletePointers(m_routers); deletePointers(m_nis); deletePointers(m_links); deletePointers(m_creditlinks); - delete m_topology_ptr; } /* |