1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-12-23 12:03:41 +01:00

Remove duplicate calls to mark_as_used

This commit is contained in:
Arun Sharma 2009-10-17 22:45:30 -07:00
parent 4ab26bcdaa
commit 3067acf172

View file

@ -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)