diff options
author | Martin Braun <martin.braun@ettus.com> | 2021-01-08 13:26:06 +0100 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-03-04 08:18:41 -0600 |
commit | 79c9b6f114bbadbdf3b2bfd257a417baa16cabbb (patch) | |
tree | 1f67e7543aa6f6fe09c4875ddddccb2a58d7e080 /host/lib/usrp/dboard/magnesium | |
parent | 0077580ab15e615b72572b196217b481e13e16bc (diff) | |
download | uhd-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')
-rw-r--r-- | host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp | 1 | ||||
-rw-r--r-- | host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.hpp | 3 |
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; |