aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--host/lib/rfnoc/rfnoc_graph.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/host/lib/rfnoc/rfnoc_graph.cpp b/host/lib/rfnoc/rfnoc_graph.cpp
index 2e90fb48f..56629d057 100644
--- a/host/lib/rfnoc/rfnoc_graph.cpp
+++ b/host/lib/rfnoc/rfnoc_graph.cpp
@@ -400,10 +400,6 @@ public:
// Remove the streamer from the map
_rx_streamers.erase(streamer_id);
- } else {
- throw uhd::lookup_error(
- std::string("Cannot disconnect streamer. Streamer not found: ")
- + streamer_id);
}
UHD_LOG_TRACE(LOG_ID, std::string("Disconnected ") + streamer_id);
}
@@ -431,10 +427,6 @@ public:
throw uhd::lookup_error(
std::string("Cannot disconnect. Port not connected: ") + id_str);
}
- } else {
- throw uhd::lookup_error(
- std::string("Cannot disconnect streamer. Streamer not found: ")
- + streamer_id);
}
UHD_LOG_TRACE(LOG_ID, std::string("Disconnected ") + id_str);
}