From ae17d58cc4ae6e35ddea15d3b137e8904e3687e4 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Wed, 7 Dec 2022 17:05:37 +0100 Subject: [PATCH] fpga: remove unused code Signed-off-by: Steffen Vogel --- include/villas/nodes/fpga.hpp | 6 ------ lib/nodes/fpga.cpp | 18 ------------------ 2 files changed, 24 deletions(-) diff --git a/include/villas/nodes/fpga.hpp b/include/villas/nodes/fpga.hpp index bb79448ee..d0d6003f2 100644 --- a/include/villas/nodes/fpga.hpp +++ b/include/villas/nodes/fpga.hpp @@ -66,12 +66,6 @@ public: virtual int prepare(); - virtual - int start(); - - virtual - int stop(); - virtual std::vector getPollFDs(); }; diff --git a/lib/nodes/fpga.cpp b/lib/nodes/fpga.cpp index 8f295a262..c084d343f 100644 --- a/lib/nodes/fpga.cpp +++ b/lib/nodes/fpga.cpp @@ -166,24 +166,6 @@ int FpgaNode::prepare() return Node::prepare(); } -int FpgaNode::start() -{ - int ret = Node::start(); - if (!ret) - state = State::STARTED; - - return 0; -} - -int FpgaNode::stop() -{ - int ret = Node::stop(); - if (ret) - return ret; - - return 0; -} - int FpgaNode::_read(Sample *smps[], unsigned cnt) { unsigned read;