diff options
Diffstat (limited to 'include/lib')
-rw-r--r-- | include/lib/bakery_lock.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/lib/bakery_lock.h b/include/lib/bakery_lock.h index eaefecd9..2e1afa21 100644 --- a/include/lib/bakery_lock.h +++ b/include/lib/bakery_lock.h @@ -58,7 +58,6 @@ #if USE_COHERENT_MEM typedef struct bakery_lock { - int owner; /* * The lock_data is a bit-field of 2 members: * Bit[0] : choosing. This field is set when the CPU is @@ -68,8 +67,6 @@ typedef struct bakery_lock { volatile uint16_t lock_data[BAKERY_LOCK_MAX_CPUS]; } bakery_lock_t; -#define NO_OWNER (-1) - void bakery_lock_init(bakery_lock_t *bakery); void bakery_lock_get(bakery_lock_t *bakery); void bakery_lock_release(bakery_lock_t *bakery); |