mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-24 07:44:08 +08:00
libblock: Fix warning
This commit is contained in:
@@ -57,8 +57,7 @@ static rtems_id diskdevs_mutex;
|
||||
*/
|
||||
static volatile bool diskdevs_protected;
|
||||
|
||||
static rtems_interrupt_lock diskdevs_lock =
|
||||
RTEMS_INTERRUPT_LOCK_INITIALIZER("diskdevs");
|
||||
RTEMS_INTERRUPT_LOCK_DEFINE(static, diskdevs_lock, "diskdevs")
|
||||
|
||||
static rtems_status_code
|
||||
disk_lock(void)
|
||||
|
||||
Reference in New Issue
Block a user