Removed mutex locking from get and set of log level #4809

This commit is contained in:
Adam Potolsky 2015-06-18 14:18:05 -07:00
parent afb0e2a2ea
commit 3eef49d5c9
1 changed files with 0 additions and 2 deletions

View File

@ -259,14 +259,12 @@ Log::setFilter(const char* maxPriority)
void
Log::setFilter(int maxPriority)
{
ArchMutexLock lock(m_mutex);
m_maxPriority = maxPriority;
}
int
Log::getFilter() const
{
ArchMutexLock lock(m_mutex);
return m_maxPriority;
}