From f1b6d1913c8816d4817a437176621dd066d9a47e Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Wed, 14 Oct 2015 00:29:39 -0500 Subject: ruby: remove unused functionalRead() function. Not required since functional reads cannot rely on messages that are inflight. --- src/mem/ruby/network/simple/Switch.cc | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/mem/ruby/network/simple/Switch.cc') diff --git a/src/mem/ruby/network/simple/Switch.cc b/src/mem/ruby/network/simple/Switch.cc index 0951ef138..747884f16 100644 --- a/src/mem/ruby/network/simple/Switch.cc +++ b/src/mem/ruby/network/simple/Switch.cc @@ -171,12 +171,6 @@ Switch::print(std::ostream& out) const bool Switch::functionalRead(Packet *pkt) { - // Access the buffers in the switch for performing a functional read - for (unsigned int i = 0; i < m_port_buffers.size(); ++i) { - if (m_port_buffers[i]->functionalRead(pkt)) { - return true; - } - } return false; } -- cgit v1.2.3