Blame SOURCES/glibc-rh1505492-unused-3.patch

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