diff options
author | Moritz Fischer <moritz.fischer@ettus.com> | 2017-10-08 15:50:34 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-10-11 16:36:08 -0700 |
commit | 28c89e2f8871b3a5bd0144249c202de20900b1f7 (patch) | |
tree | 2884dca27f5edcf04c224227217ba47e7a093f28 | |
parent | 2029af39cc9d396f69c52550595d1aeedce5e2d2 (diff) | |
download | uhd-28c89e2f8871b3a5bd0144249c202de20900b1f7.tar.gz uhd-28c89e2f8871b3a5bd0144249c202de20900b1f7.tar.bz2 uhd-28c89e2f8871b3a5bd0144249c202de20900b1f7.zip |
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 <moritz.fischer@ettus.com>
-rw-r--r-- | host/lib/transport/nirio_zero_copy.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
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 <uhd/transport/nirio_zero_copy.hpp> #include <stdio.h> #include <uhd/transport/nirio/nirio_fifo.h> -#include <uhd/transport/buffer_pool.hpp> #include <uhd/utils/log.hpp> #include <uhd/utils/atomic.hpp> @@ -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<fifo_data_t>::sptr _recv_fifo, _send_fifo; const zero_copy_xport_params _xport_params; - buffer_pool::sptr _recv_buffer_pool, _send_buffer_pool; std::vector<boost::shared_ptr<nirio_zero_copy_msb> > _msb_pool; std::vector<boost::shared_ptr<nirio_zero_copy_mrb> > _mrb_pool; size_t _next_recv_buff_index, _next_send_buff_index; |