Skip to content

Commit

Permalink
build test
Browse files Browse the repository at this point in the history
  • Loading branch information
TaiJuWu committed Mar 18, 2024
1 parent cba0c62 commit 51fc1e6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sched/semaphore/sem_rw.c
Original file line number Diff line number Diff line change
Expand Up @@ -255,9 +255,7 @@ int init_rwsem(FAR rw_semaphore_t *rwsem)

/* Initialize structure information */

#ifdef CONFIG_SMP
spin_lock_init(&rwsem->protected);
#endif

ret = nxsem_init(&rwsem->waiting, 0, 0);
if (ret < 0)
Expand Down

0 comments on commit 51fc1e6

Please sign in to comment.