From cd755b0a51bb136ce4f17a83157c4d8fe5ffa972 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Tue, 21 May 2019 16:20:43 -0700 Subject: device3: Remove unused 'rate' argument from update_?x_streamers() --- host/lib/usrp/x300/x300_impl.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'host/lib/usrp/x300') diff --git a/host/lib/usrp/x300/x300_impl.cpp b/host/lib/usrp/x300/x300_impl.cpp index ac5b66442..76759acb3 100644 --- a/host/lib/usrp/x300/x300_impl.cpp +++ b/host/lib/usrp/x300/x300_impl.cpp @@ -1162,10 +1162,8 @@ void x300_impl::setup_mb(const size_t mb_i, const uhd::device_addr_t& dev_addr) } return master_clock_rate; }) - .add_coerced_subscriber( - [this](const double rate) { this->update_tx_streamers(rate); }) - .add_coerced_subscriber( - [this](const double rate) { this->update_rx_streamers(rate); }) + .add_coerced_subscriber([this](const double) { this->update_tx_streamers(); }) + .add_coerced_subscriber([this](const double) { this->update_rx_streamers(); }) .set(master_clock_rate); //////////////////////////////////////////////////////////////////// -- cgit v1.2.3