mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-14 04:09:26 +08:00
rtemsbsd: Remove unused variable
This commit is contained in:
parent
c05a6f545b
commit
3a9f9c6c70
@ -207,13 +207,11 @@ lockmgr_lock_fast_path(struct lock *lk, u_int flags, struct lock_object *ilk,
|
||||
{
|
||||
uintptr_t x, tid;
|
||||
u_int op;
|
||||
bool locked;
|
||||
|
||||
if (__predict_false(panicstr != NULL))
|
||||
return (0);
|
||||
|
||||
op = flags & LK_TYPE_MASK;
|
||||
locked = false;
|
||||
switch (op) {
|
||||
case LK_SHARED:
|
||||
if (!__predict_false(lk->lock_object.lo_flags & LK_NOSHARE))
|
||||
|
Loading…
x
Reference in New Issue
Block a user