Ignore:
Timestamp:
Jan 29, 2018, 5:49:38 PM (4 years ago)
Author:
alain
Message:

cosmetic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/libk/remote_rwlock.c

    r409 r423  
    3434void remote_rwlock_init( xptr_t lock_xp )
    3535{
    36     remote_rwlock_t * lock_ptr = (remote_rwlock_t *)GET_PTR( lock_xp );
     36    remote_rwlock_t * lock_ptr = GET_PTR( lock_xp );
    3737    cxy_t             lock_cxy = GET_CXY( lock_xp );
    3838
     
    5555
    5656    // get cluster and local pointer on remote_rwlock
    57     remote_rwlock_t * lock_ptr = (remote_rwlock_t *)GET_PTR( lock_xp );
     57    remote_rwlock_t * lock_ptr = GET_PTR( lock_xp );
    5858    cxy_t             lock_cxy = GET_CXY( lock_xp );
    5959
     
    108108
    109109    // get cluster and local pointer on remote_rwlock
    110     remote_rwlock_t * lock_ptr = (remote_rwlock_t *)GET_PTR( lock_xp );
     110    remote_rwlock_t * lock_ptr = GET_PTR( lock_xp );
    111111    cxy_t             lock_cxy = GET_CXY( lock_xp );
    112112
     
    127127
    128128#if CONFIG_LOCKS_DEBUG
    129     xlist_unlink( XPTR( lock_cxy , &lock->ptr->list ) );
     129    xlist_unlink( XPTR( lock_cxy , &lock_ptr->list ) );
    130130#endif
    131131
     
    145145
    146146    // get cluster and local pointer on remote_rwlock
    147     remote_rwlock_t * lock_ptr = (remote_rwlock_t *)GET_PTR( lock_xp );
     147    remote_rwlock_t * lock_ptr = GET_PTR( lock_xp );
    148148    cxy_t             lock_cxy = GET_CXY( lock_xp );
    149149
     
    197197
    198198    // get cluster and local pointer on remote_rwlock
    199     remote_rwlock_t * lock_ptr = (remote_rwlock_t *)GET_PTR( lock_xp );
     199    remote_rwlock_t * lock_ptr = GET_PTR( lock_xp );
    200200    cxy_t             lock_cxy = GET_CXY( lock_xp );
    201201
     
    237237
    238238    // get cluster and local pointer on remote_rwlock
    239     remote_rwlock_t * lock_ptr = (remote_rwlock_t *)GET_PTR( lock_xp );
     239    remote_rwlock_t * lock_ptr = GET_PTR( lock_xp );
    240240    cxy_t             lock_cxy = GET_CXY( lock_xp );
    241241
Note: See TracChangeset for help on using the changeset viewer.