aboutsummaryrefslogtreecommitdiff
path: root/device.cc
diff options
context:
space:
mode:
Diffstat (limited to 'device.cc')
-rw-r--r--device.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/device.cc b/device.cc
index 44ec5c3..940a654 100644
--- a/device.cc
+++ b/device.cc
@@ -162,14 +162,10 @@ void Device::show_stats() {
}
void Device::_reconnect() {
- if (mex_dev_com.try_lock()){
- throw std::runtime_error("mutex should be locked before entering this function");
- }
LOG(__FUNCTION__, Loglevel::DEBUG_L2);
++m_counters.low_level_reconnect;
_disconnect();
_connect();
-
}
Device::~Device() {