diff --git a/src/arch/arm/fastmodel/iris/cpu.hh b/src/arch/arm/fastmodel/iris/cpu.hh index 0baebecb27..7ae0f7ff8c 100644 --- a/src/arch/arm/fastmodel/iris/cpu.hh +++ b/src/arch/arm/fastmodel/iris/cpu.hh @@ -83,12 +83,6 @@ class BaseCPU : public ::BaseCPU Counter totalInsts() const override; Counter totalOps() const override { return totalInsts(); } - PortProxy::SendFunctionalFunc - getSendFunctional() override - { - return [this] (PacketPtr pkt) { evs_base_cpu->sendFunc(pkt); }; - } - protected: sc_core::sc_module *evs; // Hold casted pointer to *evs. diff --git a/src/cpu/base.hh b/src/cpu/base.hh index 6d324dae5d..daa08139e6 100644 --- a/src/cpu/base.hh +++ b/src/cpu/base.hh @@ -173,17 +173,6 @@ class BaseCPU : public ClockedObject */ virtual Port &getDataPort() = 0; - /** - * Returns a sendFunctional delegate for use with port proxies. - */ - virtual PortProxy::SendFunctionalFunc - getSendFunctional() - { - auto port = dynamic_cast(&getDataPort()); - assert(port); - return [port](PacketPtr pkt)->void { port->sendFunctional(pkt); }; - } - /** * Purely virtual method that returns a reference to the instruction * port. All subclasses must implement this method.