remove double lock
This commit is contained in:
parent
800ab7e87f
commit
1b2dd12e61
@ -76,7 +76,6 @@ uint32_t AxiPtmeConfig::readReg(uint32_t regOffset) {
|
||||
}
|
||||
|
||||
void AxiPtmeConfig::writePollThreshold(AxiPtmeConfig::IdlePollThreshold pollThreshold) {
|
||||
MutexGuard mg(mutex, timeoutType, mutexTimeout);
|
||||
uint32_t regVal = readCommonCfgReg();
|
||||
// Clear bits first
|
||||
regVal &= ~(0b111 << 3);
|
||||
|
Loading…
Reference in New Issue
Block a user