about summary refs log tree commit diff
path: root/sysdeps/sh/sh4/fpu/fegetexcept.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sh/sh4/fpu/fegetexcept.c')
-rw-r--r--sysdeps/sh/sh4/fpu/fegetexcept.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sysdeps/sh/sh4/fpu/fegetexcept.c b/sysdeps/sh/sh4/fpu/fegetexcept.c
index a2faaac332..038fe973ca 100644
--- a/sysdeps/sh/sh4/fpu/fegetexcept.c
+++ b/sysdeps/sh/sh4/fpu/fegetexcept.c
@@ -27,9 +27,6 @@ fegetexcept (void)
 
   /* Get current exceptions.  */
   _FPU_GETCW (temp);
-  /* When read fpscr, this was initialized.
-     We need to rewrite value of temp. */
-  _FPU_SETCW (temp);
 
   return (temp >> 5) & FE_ALL_EXCEPT;
 }