1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-08-14 15:33:34 -04:00

Remove uneeded unlocks of QMutexLocker

The mutex will get unlocked anyway when falling out of scope.
This commit is contained in:
Daniele Forsi
2024-06-19 23:17:25 +02:00
parent 2b0bcb0d09
commit 1f9c7efcab
7 changed files with 0 additions and 12 deletions
@@ -199,7 +199,6 @@ bool PlutoSDRMIMO::startRx()
m_plutoRxBuffer = m_plutoParams->getBox()->createRxBuffer(PlutoSDRMIMOSettings::m_plutoSDRBlockSizeSamples, false);
m_sourceThread->startWork();
mutexLocker.unlock();
m_runningRx = true;
return true;
@@ -237,7 +236,6 @@ bool PlutoSDRMIMO::startTx()
m_plutoTxBuffer = m_plutoParams->getBox()->createTxBuffer(PlutoSDRMIMOSettings::m_plutoSDRBlockSizeSamples, false);
m_sinkThread->startWork();
mutexLocker.unlock();
m_runningTx = true;
return true;