MSD: only one thread uses this, why mutex

This commit is contained in:
Andrey Gusakov 2025-02-18 11:26:42 +03:00 committed by rusefillc
parent 5cf3565023
commit ed59716ddd
1 changed files with 0 additions and 2 deletions

View File

@ -99,8 +99,6 @@ void MassStorageController::ThreadTask() {
}
if (cbwValid(m_cbw, status) && cbwMeaningful(m_cbw)) {
chibios_rt::MutexLocker lock(m_lunMutex);
auto target = &m_luns[m_cbw.lun].target;
if (SCSI_SUCCESS == scsiExecCmd(target, m_cbw.cmd_data)) {
sendCsw(CSW_STATUS_PASSED, 0);