aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2018-07-20 20:43:28 -0700
committerBrent Stapleton <bstapleton@g.hmc.edu>2018-07-23 13:47:43 -0700
commit458c1bb1229ab52bdac2d26c973a54780e925704 (patch)
tree16df97f0dfcfb9285cb4d1cf3fbd0bb44db86e5e /host/lib
parentb211bbf3c7594e14aefa2899dc49e2f180fc20ef (diff)
downloaduhd-458c1bb1229ab52bdac2d26c973a54780e925704.tar.gz
uhd-458c1bb1229ab52bdac2d26c973a54780e925704.tar.bz2
uhd-458c1bb1229ab52bdac2d26c973a54780e925704.zip
rfnoc: legacy_compat: Remove superfluous variable
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/rfnoc/legacy_compat.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/host/lib/rfnoc/legacy_compat.cpp b/host/lib/rfnoc/legacy_compat.cpp
index 3c3a0a26f..7e9eec20e 100644
--- a/host/lib/rfnoc/legacy_compat.cpp
+++ b/host/lib/rfnoc/legacy_compat.cpp
@@ -175,7 +175,6 @@ public:
}
}
for (size_t port = 0; port < _num_tx_chans_per_radio; port++) {
- size_t chan = radio * _num_tx_chans_per_radio + port;
if (!radio_block_ctrl->get_dboard_fe_from_chan(port, uhd::TX_DIRECTION).empty()) {
_tx_channel_map[mboard].push_back({radio, port});
}