summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Müller <mmueller@gnuradio.org>2021-05-22 16:11:30 +0200
committerMartin Braun <martin@gnuradio.org>2021-05-27 04:28:38 -0700
commiteed7b78d36a1bd1c394f139b9bb7ef899a8fb060 (patch)
tree29a2c5242856b4259bfc51fc913c77651f7e0870
parent3d72bbea5837d931da2726b9acccc5a91819ae95 (diff)
uhd: rfnoc_xx_streamer: removed unused private num_chan field
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
-rw-r--r--gr-uhd/lib/rfnoc_rx_streamer_impl.cc1
-rw-r--r--gr-uhd/lib/rfnoc_rx_streamer_impl.h2
-rw-r--r--gr-uhd/lib/rfnoc_tx_streamer_impl.cc1
-rw-r--r--gr-uhd/lib/rfnoc_tx_streamer_impl.h2
4 files changed, 0 insertions, 6 deletions
diff --git a/gr-uhd/lib/rfnoc_rx_streamer_impl.cc b/gr-uhd/lib/rfnoc_rx_streamer_impl.cc
index de3a130e6e..d45125ffe2 100644
--- a/gr-uhd/lib/rfnoc_rx_streamer_impl.cc
+++ b/gr-uhd/lib/rfnoc_rx_streamer_impl.cc
@@ -51,7 +51,6 @@ rfnoc_rx_streamer_impl::rfnoc_rx_streamer_impl(rfnoc_graph::sptr graph,
num_chans,
num_chans,
::uhd::convert::get_bytes_per_item(stream_args.cpu_format) * vlen)),
- d_num_chans(num_chans),
d_itemsize(::uhd::convert::get_bytes_per_item(stream_args.cpu_format)),
d_vlen(vlen),
d_graph(graph),
diff --git a/gr-uhd/lib/rfnoc_rx_streamer_impl.h b/gr-uhd/lib/rfnoc_rx_streamer_impl.h
index f2da43b569..df9cb0c368 100644
--- a/gr-uhd/lib/rfnoc_rx_streamer_impl.h
+++ b/gr-uhd/lib/rfnoc_rx_streamer_impl.h
@@ -40,8 +40,6 @@ public:
private:
void flush();
- //! Number of streaming channels
- const size_t d_num_chans;
//! Bytes per item (e.g. 4 for sc16)
const size_t d_itemsize;
//! Input vector length
diff --git a/gr-uhd/lib/rfnoc_tx_streamer_impl.cc b/gr-uhd/lib/rfnoc_tx_streamer_impl.cc
index 3dcc43ab3c..6985125ea2 100644
--- a/gr-uhd/lib/rfnoc_tx_streamer_impl.cc
+++ b/gr-uhd/lib/rfnoc_tx_streamer_impl.cc
@@ -42,7 +42,6 @@ rfnoc_tx_streamer_impl::rfnoc_tx_streamer_impl(rfnoc_graph::sptr graph,
num_chans,
::uhd::convert::get_bytes_per_item(stream_args.cpu_format) * vlen),
gr::io_signature::make(0, 0, 0)),
- d_num_chans(num_chans),
d_itemsize(::uhd::convert::get_bytes_per_item(stream_args.cpu_format)),
d_vlen(vlen),
d_graph(graph),
diff --git a/gr-uhd/lib/rfnoc_tx_streamer_impl.h b/gr-uhd/lib/rfnoc_tx_streamer_impl.h
index 36819b13d8..f56dbca527 100644
--- a/gr-uhd/lib/rfnoc_tx_streamer_impl.h
+++ b/gr-uhd/lib/rfnoc_tx_streamer_impl.h
@@ -33,8 +33,6 @@ public:
gr_vector_void_star& output_items) override;
private:
- //! Number of streaming channels
- const size_t d_num_chans;
//! Bytes per item (e.g. 4 for sc16)
const size_t d_itemsize;
//! Input vector length