00db10
Partial backport of:
00db10
00db10
commit 7a2ad8cf392acfcaef319e722dda9101d4d8b6bd
00db10
Author: Adhemerval Zanella <azanella@linux.vnet.ibm.com>
00db10
Date:   Wed Nov 13 06:45:19 2013 -0600
00db10
00db10
    PowerPC: Fix __fe_mask_env export
00db10
    
00db10
    This patch does not export __fe_mask_env anymore, only providing a
00db10
    compatibility symbol. It fixes BZ#14143.
00db10
00db10
Only the removal of the unused variable is included here.
00db10
00db10
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c b/sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
00db10
index e4bcd9800ddf1f33..dd57b9220317a075 100644
00db10
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
00db10
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
00db10
@@ -27,9 +27,8 @@ const fenv_t *
00db10
 __fe_mask_env (void)
00db10
 {
00db10
 #if defined PR_SET_FPEXC && defined PR_FP_EXC_DISABLED
00db10
-  int result;
00db10
   INTERNAL_SYSCALL_DECL (err);
00db10
-  result = INTERNAL_SYSCALL (prctl, err, 2, PR_SET_FPEXC, PR_FP_EXC_DISABLED);
00db10
+  INTERNAL_SYSCALL (prctl, err, 2, PR_SET_FPEXC, PR_FP_EXC_DISABLED);
00db10
 #else
00db10
   __set_errno (ENOSYS);
00db10
 #endif
00db10
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c b/sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
00db10
index 46b94789801b73e5..03eb855d3bef33e5 100644
00db10
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
00db10
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
00db10
@@ -27,9 +27,8 @@ const fenv_t *
00db10
 __fe_nomask_env (void)
00db10
 {
00db10
 #if defined PR_SET_FPEXC && defined PR_FP_EXC_PRECISE
00db10
-  int result;
00db10
   INTERNAL_SYSCALL_DECL (err);
00db10
-  result = INTERNAL_SYSCALL (prctl, err, 2, PR_SET_FPEXC, PR_FP_EXC_PRECISE);
00db10
+  INTERNAL_SYSCALL (prctl, err, 2, PR_SET_FPEXC, PR_FP_EXC_PRECISE);
00db10
 #else
00db10
   __set_errno (ENOSYS);
00db10
 #endif