From 1bbca50491202c6527743fcca9030d55b4ddc06b Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Mon, 29 Aug 2011 05:10:23 -0500 Subject: Ruby: Remove some unused code --- src/mem/ruby/network/simple/SimpleNetwork.cc | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/mem/ruby/network/simple') diff --git a/src/mem/ruby/network/simple/SimpleNetwork.cc b/src/mem/ruby/network/simple/SimpleNetwork.cc index a1066f2ad..645d1b4f1 100644 --- a/src/mem/ruby/network/simple/SimpleNetwork.cc +++ b/src/mem/ruby/network/simple/SimpleNetwork.cc @@ -30,7 +30,6 @@ #include #include "base/stl_helpers.hh" -#include "mem/protocol/MachineType.hh" #include "mem/protocol/TopologyType.hh" #include "mem/ruby/buffers/MessageBuffer.hh" #include "mem/ruby/common/NetDest.hh" @@ -46,18 +45,6 @@ using namespace std; using m5::stl_helpers::deletePointers; -#if 0 -// ***BIG HACK*** - This is actually code that _should_ be in Network.cc - -// Note: Moved to Princeton Network -// calls new to abstract away from the network -Network* -Network::createNetwork(int nodes) -{ - return new SimpleNetwork(nodes); -} -#endif - SimpleNetwork::SimpleNetwork(const Params *p) : Network(p) { -- cgit v1.2.3