aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2018-01-04 08:04:57 -0800
committerMartin Braun <martin.braun@ettus.com>2018-01-08 15:03:48 -0800
commitaeb18f50a0598395d3b0a6179414f6dbfcad2d44 (patch)
tree599488eb6f2b6ded4768c438ab57c998b2c64fff /host/lib/usrp
parent9ca689ee9d16f902aa6aaf290314295b18b6577f (diff)
downloaduhd-aeb18f50a0598395d3b0a6179414f6dbfcad2d44.tar.gz
uhd-aeb18f50a0598395d3b0a6179414f6dbfcad2d44.tar.bz2
uhd-aeb18f50a0598395d3b0a6179414f6dbfcad2d44.zip
mg: Remove superfluous UHD_VAR
Diffstat (limited to 'host/lib/usrp')
-rw-r--r--host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_init.cpp1
1 files changed, 0 insertions, 1 deletions
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 2a75a52c2..5858995b0 100644
--- a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_init.cpp
+++ b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_init.cpp
@@ -328,7 +328,6 @@ void magnesium_radio_ctrl_impl::_init_frontend_subtree(
// RX gains
subtree->create<double>(rx_fe_path / "gains" / "all" / "value")
.set_coercer([this, chan_idx](const double gain){
- UHD_VAR(gain);
return this->set_rx_gain(gain, chan_idx);
})
.set_publisher([this, chan_idx](){