From 8e5a81e2096887d7581fd232fb86cc303ca6ecc6 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Mon, 5 Sep 2016 15:00:51 -0700 Subject: transport: Removed conditional compiles for terminator APIs --- host/lib/transport/super_recv_packet_handler.hpp | 8 +------- host/lib/transport/super_send_packet_handler.hpp | 8 +------- 2 files changed, 2 insertions(+), 14 deletions(-) (limited to 'host/lib/transport') diff --git a/host/lib/transport/super_recv_packet_handler.hpp b/host/lib/transport/super_recv_packet_handler.hpp index 5ca1da687..bd7f01c4f 100644 --- a/host/lib/transport/super_recv_packet_handler.hpp +++ b/host/lib/transport/super_recv_packet_handler.hpp @@ -18,6 +18,7 @@ #ifndef INCLUDED_LIBUHD_TRANSPORT_SUPER_RECV_PACKET_HANDLER_HPP #define INCLUDED_LIBUHD_TRANSPORT_SUPER_RECV_PACKET_HANDLER_HPP +#include "../rfnoc/rx_stream_terminator.hpp" #include #include #include @@ -28,9 +29,6 @@ #include #include #include -#ifdef DEVICE3_STREAMER -# include "../rfnoc/rx_stream_terminator.hpp" -#endif #include #include #include @@ -131,7 +129,6 @@ public: } } - #ifdef DEVICE3_STREAMER void set_terminator(uhd::rfnoc::rx_stream_terminator::sptr terminator) { _terminator = terminator; @@ -141,7 +138,6 @@ public: { return _terminator; } - #endif ////////////////// RFNOC /////////////////////////// /*! @@ -397,9 +393,7 @@ private: int recvd_packets; #endif - #ifdef DEVICE3_STREAMER uhd::rfnoc::rx_stream_terminator::sptr _terminator; - #endif /******************************************************************* * Get and process a single packet from the transport: diff --git a/host/lib/transport/super_send_packet_handler.hpp b/host/lib/transport/super_send_packet_handler.hpp index 5e81fb442..d49fb19ca 100644 --- a/host/lib/transport/super_send_packet_handler.hpp +++ b/host/lib/transport/super_send_packet_handler.hpp @@ -18,6 +18,7 @@ #ifndef INCLUDED_LIBUHD_TRANSPORT_SUPER_SEND_PACKET_HANDLER_HPP #define INCLUDED_LIBUHD_TRANSPORT_SUPER_SEND_PACKET_HANDLER_HPP +#include "../rfnoc/tx_stream_terminator.hpp" #include #include #include @@ -28,9 +29,6 @@ #include #include #include -#ifdef DEVICE3_STREAMER -# include "../rfnoc/tx_stream_terminator.hpp" -#endif #include #include #include @@ -115,7 +113,6 @@ public: } } - #ifdef DEVICE3_STREAMER void set_terminator(uhd::rfnoc::tx_stream_terminator::sptr terminator) { _terminator = terminator; @@ -125,7 +122,6 @@ public: { return _terminator; } - #endif ///////// RFNOC /////////////////// void set_enable_trailer(const bool enable) @@ -322,9 +318,7 @@ private: bool _cached_metadata; uhd::tx_metadata_t _metadata_cache; - #ifdef DEVICE3_STREAMER uhd::rfnoc::tx_stream_terminator::sptr _terminator; - #endif #ifdef UHD_TXRX_DEBUG_PRINTS struct dbg_send_stat_t { -- cgit v1.2.3