mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-05 01:09:27 +01:00
Remove duplicate calls to mark_as_used
This commit is contained in:
parent
4ab26bcdaa
commit
3067acf172
1 changed files with 0 additions and 2 deletions
|
@ -196,13 +196,11 @@ static inline void mark_as_used(void *v) {
|
|||
#define lock_acquire(l,m) \
|
||||
do { \
|
||||
SIGPROCMASK (SIG_SETMASK, &unwi_full_mask, &(m)); \
|
||||
mark_as_used(&(m)); \
|
||||
mutex_lock (l); \
|
||||
} while (0)
|
||||
#define lock_release(l,m) \
|
||||
do { \
|
||||
mutex_unlock (l); \
|
||||
mark_as_used(&(m)); \
|
||||
SIGPROCMASK (SIG_SETMASK, &(m), NULL); \
|
||||
} while (0)
|
||||
|
||||
|
|
Loading…
Reference in a new issue