aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2021-10-08 13:55:41 +0200
committerAaron Rossetto <aaron.rossetto@ni.com>2021-10-11 10:44:51 -0700
commit748162e6a9a018f6cf377be8f9a68a7445060336 (patch)
tree9f06a2850ab23139fa3fd42627fa33514bb09f46 /host/lib
parent7ba25a638eaa6e88696471df5ecd6af70e57d796 (diff)
downloaduhd-748162e6a9a018f6cf377be8f9a68a7445060336.tar.gz
uhd-748162e6a9a018f6cf377be8f9a68a7445060336.tar.bz2
uhd-748162e6a9a018f6cf377be8f9a68a7445060336.zip
rfnoc: mgmt_portal: Remove two unused variables
Thanks for github user johnwstanford for pointing those out.
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/rfnoc/mgmt_portal.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/host/lib/rfnoc/mgmt_portal.cpp b/host/lib/rfnoc/mgmt_portal.cpp
index e719a9c72..2fecacf2b 100644
--- a/host/lib/rfnoc/mgmt_portal.cpp
+++ b/host/lib/rfnoc/mgmt_portal.cpp
@@ -312,8 +312,9 @@ public:
mgmt_payload init_req_xact;
_traverse_to_node(init_req_xact, route_addr);
_push_node_init_hop(init_req_xact, addr_pair.first, my_epid);
- const mgmt_payload resp_xact =
- _send_recv_mgmt_transaction(xport, init_req_xact);
+ // Send the transaction and receive a response.
+ // We don't care about the contents of the response.
+ _send_recv_mgmt_transaction(xport, init_req_xact);
route_addr.push_back(addr_pair);
}
@@ -756,8 +757,9 @@ private: // Functions
// Initialize the node (first time config)
mgmt_payload init_req_xact(route_xact);
_push_node_init_hop(init_req_xact, new_node, my_epid);
- const mgmt_payload init_resp_xact =
- _send_recv_mgmt_transaction(xport, init_req_xact);
+ // Send the transaction and receive a response.
+ // We don't care about the contents of the response.
+ _send_recv_mgmt_transaction(xport, init_req_xact);
UHD_LOG_DEBUG("RFNOC::MGMT", "Initialized node " << new_node.to_string());
// If the new node is a stream endpoint then we are done traversing this