Skip to content

Commit

Permalink
Update shmem_mcs_lock.c - Some more minor alignment concerns
Browse files Browse the repository at this point in the history
  • Loading branch information
vvenkates27 authored Aug 19, 2023
1 parent 923785e commit 3786663
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions oshmem/shmem/c/shmem_mcs_lock.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ void
_shmem_mcs_set_lock(long *lockp)
{

lock_t *lock = (lock_t *) lockp;
lock_t *lock = (lock_t *) lockp;
int mcs_tail_owner = MCSQ_TAIL_OWNER(lock);
int new_tail_req = 0;
int *tail = &(lock->tail);
Expand Down Expand Up @@ -150,7 +150,7 @@ _shmem_mcs_set_lock(long *lockp)
void
_shmem_mcs_clear_lock(long *lockp)
{
lock_t *lock = (lock_t *) lockp;
lock_t *lock = (lock_t *) lockp;
int mcs_tail_owner = MCSQ_TAIL_OWNER(lock);
int *tail = &(lock->tail);
int *next = &(lock->next);
Expand Down Expand Up @@ -213,7 +213,7 @@ int
_shmem_mcs_test_lock(long *lockp)
{

lock_t *lock = (lock_t *) lockp;
lock_t *lock = (lock_t *) lockp;
int mcs_tail_owner = MCSQ_TAIL_OWNER(lock);
int new_tail_req = 0;
int prev_tail = 0;
Expand Down

0 comments on commit 3786663

Please sign in to comment.