From 28c89e2f8871b3a5bd0144249c202de20900b1f7 Mon Sep 17 00:00:00 2001 From: Moritz Fischer Date: Sun, 8 Oct 2017 15:50:34 -0700 Subject: transport: nirio_zero_copy: Remove redundant buffer pools Remove the redundant send/recv buffer_pools from nirio_zero_copy_impl class as no one is using them. Signed-off-by: Moritz Fischer --- host/lib/transport/nirio_zero_copy.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'host/lib/transport') diff --git a/host/lib/transport/nirio_zero_copy.cpp b/host/lib/transport/nirio_zero_copy.cpp index 0635e01cf..87d44865a 100644 --- a/host/lib/transport/nirio_zero_copy.cpp +++ b/host/lib/transport/nirio_zero_copy.cpp @@ -18,7 +18,6 @@ #include #include #include -#include #include #include @@ -156,9 +155,6 @@ public: UHD_LOGGER_TRACE("NIRIO") << boost::format("nirio zero-copy TX transport configured with frame size = %u, #frames = %u, buffer size = %u\n") % _xport_params.send_frame_size % _xport_params.num_send_frames % (_xport_params.send_frame_size * _xport_params.num_send_frames); - _recv_buffer_pool = buffer_pool::make(_xport_params.num_recv_frames, _xport_params.recv_frame_size); - _send_buffer_pool = buffer_pool::make(_xport_params.num_send_frames, _xport_params.send_frame_size); - nirio_status status = 0; size_t actual_depth = 0, actual_size = 0; @@ -353,7 +349,6 @@ private: uint32_t _fifo_instance; nirio_fifo::sptr _recv_fifo, _send_fifo; const zero_copy_xport_params _xport_params; - buffer_pool::sptr _recv_buffer_pool, _send_buffer_pool; std::vector > _msb_pool; std::vector > _mrb_pool; size_t _next_recv_buff_index, _next_send_buff_index; -- cgit v1.2.3