diff options
Diffstat (limited to 'host/lib/usrp/mpmd')
-rw-r--r-- | host/lib/usrp/mpmd/mpmd_impl.cpp | 1 | ||||
-rw-r--r-- | host/lib/usrp/mpmd/mpmd_impl.hpp | 3 | ||||
-rw-r--r-- | host/lib/usrp/mpmd/mpmd_xport.cpp | 3 |
3 files changed, 1 insertions, 6 deletions
diff --git a/host/lib/usrp/mpmd/mpmd_impl.cpp b/host/lib/usrp/mpmd/mpmd_impl.cpp index c44cc2040..911b57558 100644 --- a/host/lib/usrp/mpmd/mpmd_impl.cpp +++ b/host/lib/usrp/mpmd/mpmd_impl.cpp @@ -276,7 +276,6 @@ const std::string mpmd_impl::MPM_ECHO_CMD = "MPM-ECHO"; mpmd_impl::mpmd_impl(const device_addr_t& device_args) : usrp::device3_impl() , _device_args(device_args) - , _sid_framer(0) { UHD_LOGGER_INFO("MPMD") << "Initializing device with args: " << device_args.to_string(); diff --git a/host/lib/usrp/mpmd/mpmd_impl.hpp b/host/lib/usrp/mpmd/mpmd_impl.hpp index 7b81be0f6..fe98b0329 100644 --- a/host/lib/usrp/mpmd/mpmd_impl.hpp +++ b/host/lib/usrp/mpmd/mpmd_impl.hpp @@ -219,9 +219,6 @@ public: //! A counter for distributing local addresses to crossbars // No-one touches this except allocate_xbar_local_addr(), gotcha? size_t _xbar_local_addr_ctr = 2; - - // TODO make sure this can't wrap - size_t _sid_framer; }; }} /* namespace uhd::mpmd */ diff --git a/host/lib/usrp/mpmd/mpmd_xport.cpp b/host/lib/usrp/mpmd/mpmd_xport.cpp index c21da3839..43d5d6e2b 100644 --- a/host/lib/usrp/mpmd/mpmd_xport.cpp +++ b/host/lib/usrp/mpmd/mpmd_xport.cpp @@ -49,8 +49,7 @@ both_xports_t mpmd_impl::make_transport( identify_mboard_by_xbar_addr(dst_address.get_dst_addr()); const sid_t sid( - 0, - _sid_framer++, // FIXME make sure we only increment if actually valid + 0, 0, // Not actually an address, more of an 'ignore me' value dst_address.get_dst_addr(), dst_address.get_dst_endpoint() ); |