aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2021-01-08 13:26:06 +0100
committerAaron Rossetto <aaron.rossetto@ni.com>2021-03-04 08:18:41 -0600
commit79c9b6f114bbadbdf3b2bfd257a417baa16cabbb (patch)
tree1f67e7543aa6f6fe09c4875ddddccb2a58d7e080 /host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp
parent0077580ab15e615b72572b196217b481e13e16bc (diff)
downloaduhd-79c9b6f114bbadbdf3b2bfd257a417baa16cabbb.tar.gz
uhd-79c9b6f114bbadbdf3b2bfd257a417baa16cabbb.tar.bz2
uhd-79c9b6f114bbadbdf3b2bfd257a417baa16cabbb.zip
mg: Remove unused private attribute from ad9371_iface
This fixes a clang warning.
Diffstat (limited to 'host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp')
-rw-r--r--host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp b/host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp
index adb93ced7..13c366bee 100644
--- a/host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp
+++ b/host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp
@@ -29,7 +29,6 @@ std::string _get_which(const direction_t dir, const size_t chan)
magnesium_ad9371_iface::magnesium_ad9371_iface(
uhd::rpc_client::sptr rpcc, const size_t slot_idx)
: _rpcc(rpcc)
- , _slot_idx(slot_idx)
, _rpc_prefix((slot_idx == 0) ? "db_0_" : "db_1_")
, _log_prefix((slot_idx == 0) ? "AD9371-0" : "AD9371-1")
{