aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorLars Amsel <lars.amsel@ni.com>2021-07-12 15:17:06 +0200
committerAaron Rossetto <aaron.rossetto@ni.com>2021-07-12 16:47:54 -0500
commitcdb20bc3d6d37794279b5588cc9922a4b386c21a (patch)
tree1a9cc9e772da962fe44b55d728a7b02806b8a4de /host/include
parent9d63ff98fb40dd5557072503d34d44672f0c17d9 (diff)
downloaduhd-cdb20bc3d6d37794279b5588cc9922a4b386c21a.tar.gz
uhd-cdb20bc3d6d37794279b5588cc9922a4b386c21a.tar.bz2
uhd-cdb20bc3d6d37794279b5588cc9922a4b386c21a.zip
rfnoc: remove obsolete constant
RFNoC 4.0 does not restrict the number of blocks. The constant is not used anywhere in the code and can therefore be removed savely.
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/rfnoc/constants.hpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/host/include/uhd/rfnoc/constants.hpp b/host/include/uhd/rfnoc/constants.hpp
index c27911549..e059a5215 100644
--- a/host/include/uhd/rfnoc/constants.hpp
+++ b/host/include/uhd/rfnoc/constants.hpp
@@ -83,9 +83,6 @@ static const uhd::dict<std::string, uint32_t> DEFAULT_NAMED_SR =
boost::assign::map_list_of("AXIS_CONFIG_BUS", AXIS_CONFIG_BUS)(
"AXIS_CONFIG_BUS_TLAST", AXIS_CONFIG_BUS_TLAST);
-// Blocks
-static const size_t MAX_NUM_BLOCKS = 16;
-
// Block ports
static const size_t ANY_PORT = size_t(~0);
static const size_t MAX_NUM_PORTS = 16;