From 323d27d172425a0fea3f4a071d210dca1d467f15 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Mon, 13 Nov 2017 15:50:39 -0800 Subject: mg: Stop sharing RX and TX LO sptrs across blocks All properties are already shared through the prop tree API. --- host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_init.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'host/lib/usrp/dboard/magnesium') diff --git a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_init.cpp b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_init.cpp index b7029d04d..5bbcacdf0 100644 --- a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_init.cpp +++ b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_init.cpp @@ -144,18 +144,6 @@ void magnesium_radio_ctrl_impl::_init_peripherals() } else { UHD_LOG_TRACE(unique_id(), "Not a master radio, no LOs."); } - if (not _tree->exists(rx_lo_path)) { - _tree->create(rx_lo_path).set(_rx_lo); - } else { - UHD_LOG_TRACE(unique_id(), "Not a master radio. Getting LO from master" ); - _rx_lo = _tree->access(rx_lo_path).get(); - } - if (not _tree->exists(tx_lo_path)) { - _tree->create(tx_lo_path).set(_tx_lo); - } else { - UHD_LOG_TRACE(unique_id(), "Not a master radio. Getting LO from master" ); - _tx_lo = _tree->access(tx_lo_path).get(); - } _gpio.clear(); // Following the as-if rule, this can get optimized out for (size_t radio_idx = 0; radio_idx < _get_num_radios(); radio_idx++) { -- cgit v1.2.3