From 27abe82f0de6ae81aadf8a8c6a8206d9ca38bfc5 Mon Sep 17 00:00:00 2001 From: Trung Tran Date: Tue, 21 Aug 2018 15:24:20 -0700 Subject: device3_io_impl: remove tx_hint[send_buff_size] we're no longer need this. Because there are default send buff size in each transport type impl. --- host/lib/usrp/device3/device3_io_impl.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'host') diff --git a/host/lib/usrp/device3/device3_io_impl.cpp b/host/lib/usrp/device3/device3_io_impl.cpp index 490f10c3c..d5b0d4f1d 100644 --- a/host/lib/usrp/device3/device3_io_impl.cpp +++ b/host/lib/usrp/device3/device3_io_impl.cpp @@ -880,12 +880,6 @@ tx_streamer::sptr device3_impl::get_tx_stream(const uhd::stream_args_t &args_) // Setup the dsp transport hints device_addr_t tx_hints = get_tx_hints(mb_index); const size_t fifo_size = blk_ctrl->get_fifo_size(block_port); - if (not tx_hints.has_key("send_buff_size")) - { - // Default buffer size to FIFO size - tx_hints["send_buff_size"] = std::to_string(fifo_size); - } - // Allocate sid and create transport uhd::sid_t stream_address = blk_ctrl->get_address(block_port); UHD_TX_STREAMER_LOG() << "creating tx stream " << tx_hints.to_string() ; -- cgit v1.2.3