aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp1
-rw-r--r--host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.hpp3
2 files changed, 0 insertions, 4 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")
{
diff --git a/host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.hpp b/host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.hpp
index 2cb691025..83381f114 100644
--- a/host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.hpp
+++ b/host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.hpp
@@ -61,9 +61,6 @@ private:
//! Reference to the RPC client
uhd::rpc_client::sptr _rpcc;
- //! Slot index
- const size_t _slot_idx;
-
//! Stores the prefix to RPC calls
const std::string _rpc_prefix;