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

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