From 552b17c0de2645489caf97fc9e1ca491afc9cd46 Mon Sep 17 00:00:00 2001 From: Steven Koo Date: Tue, 4 Aug 2020 17:41:06 -0500 Subject: uhd: Remove assignment to const var for mac build These values are already correctly set upstream and should not be modified since params is const. --- host/lib/transport/udp_boost_asio_link.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'host/lib/transport') diff --git a/host/lib/transport/udp_boost_asio_link.cpp b/host/lib/transport/udp_boost_asio_link.cpp index 2d4a4f640..f91bad09e 100644 --- a/host/lib/transport/udp_boost_asio_link.cpp +++ b/host/lib/transport/udp_boost_asio_link.cpp @@ -84,17 +84,6 @@ udp_boost_asio_link::sptr udp_boost_asio_link::make(const std::string& addr, UHD_ASSERT_THROW(params.recv_buff_size != 0); UHD_ASSERT_THROW(params.send_buff_size != 0); -#if defined(UHD_PLATFORM_MACOS) || defined(UHD_PLATFORM_BSD) - // limit buffer size on macos to avoid the warning issued by - // resize_buff_helper - if (params.recv_buff_size > MAX_BUFF_SIZE_ETH_MACOS) { - params.recv_buff_size = MAX_BUFF_SIZE_ETH_MACOS; - } - if (params.send_buff_size > MAX_BUFF_SIZE_ETH_MACOS) { - params.send_buff_size = MAX_BUFF_SIZE_ETH_MACOS; - } -#endif - udp_boost_asio_link::sptr link(new udp_boost_asio_link(addr, port, params)); // call the helper to resize send and recv buffers -- cgit v1.2.3