From 79c9b6f114bbadbdf3b2bfd257a417baa16cabbb Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 8 Jan 2021 13:26:06 +0100 Subject: mg: Remove unused private attribute from ad9371_iface This fixes a clang warning. --- host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.cpp | 1 - host/lib/usrp/dboard/magnesium/magnesium_ad9371_iface.hpp | 3 --- 2 files changed, 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; -- cgit v1.2.3