mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
spinlock: fix unused parameter
fix unused parameter if unlock spinlock from different function Signed-off-by: chao an <anchao@lixiang.com>
This commit is contained in:
@@ -196,7 +196,7 @@ void spin_unlock_irqrestore(spinlock_t *lock, irqstate_t flags)
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Name: spin_lock_irqsave_wo_note
|
||||
* Name: spin_unlock_irqrestore_wo_note
|
||||
****************************************************************************/
|
||||
|
||||
void spin_unlock_irqrestore_wo_note(spinlock_t *lock, irqstate_t flags)
|
||||
|
||||
Reference in New Issue
Block a user