summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps/unix/sysv/linux
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-06-18 15:05:17 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-06-18 15:05:17 +0000
commit9bace0a6b93586c460406956dd8145f27581f66c (patch)
tree7cc91931055ef2349b5fc2caec6f597e9d9b34e3 /libpthread/nptl/sysdeps/unix/sysv/linux
parent9ef15196edf8bb2c8e9b8de11bb938b1a7bf0fb5 (diff)
downloaduClibc-alpine-9bace0a6b93586c460406956dd8145f27581f66c.tar.bz2
uClibc-alpine-9bace0a6b93586c460406956dd8145f27581f66c.tar.xz
Removed unused automatic variable 'val' to silent gcc
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux')
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h
index 05040808d..e6ea68dfb 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h
@@ -85,7 +85,7 @@ extern int __lll_mutex_unlock_wake (int *__futex) attribute_hidden;
__result; })
#define lll_mutex_lock(futex) \
- (void) ({ int __result, val, *__futex = &(futex); \
+ (void) ({ int __result, *__futex = &(futex); \
__asm __volatile ("\
.align 2\n\
mova 1f,r0\n\
@@ -105,7 +105,7 @@ extern int __lll_mutex_unlock_wake (int *__futex) attribute_hidden;
/* Special version of lll_mutex_lock which causes the unlock function to
always wakeup waiters. */
#define lll_mutex_cond_lock(futex) \
- (void) ({ int __result, val, *__futex = &(futex); \
+ (void) ({ int __result, *__futex = &(futex); \
__asm __volatile ("\
.align 2\n\
mova 1f,r0\n\
@@ -123,7 +123,7 @@ extern int __lll_mutex_unlock_wake (int *__futex) attribute_hidden;
__lll_mutex_lock_wait (__result, __futex); })
#define lll_mutex_timedlock(futex, timeout) \
- ({ int __result, val, *__futex = &(futex); \
+ ({ int __result, *__futex = &(futex); \
__asm __volatile ("\
.align 2\n\
mova 1f,r0\n\