sh: math-emu: drop unused functions
authorRandy Dunlap <rdunlap@infradead.org>
Tue, 5 Oct 2021 00:19:12 +0000 (17:19 -0700)
committerRich Felker <dalias@libc.org>
Wed, 27 Oct 2021 20:51:16 +0000 (16:51 -0400)
commite25c252a9b033523c626f039d4b9a304f12f6775
treec61f1d06e33d302137eac06312e3a3cbe0b820e4
parentfda1bc533094a7db68b11e7503d2c6c73993d12a
sh: math-emu: drop unused functions

Delete ieee_fpe_handler() since it is not used. After that is done,
delete denormal_to_double() since it is not used:

.../arch/sh/math-emu/math.c:505:12: error: 'ieee_fpe_handler' defined but not used [-Werror=unused-function]
  505 | static int ieee_fpe_handler(struct pt_regs *regs)

.../arch/sh/math-emu/math.c:477:13: error: 'denormal_to_double' defined but not used [-Werror=unused-function]
  477 | static void denormal_to_double(struct sh_fpu_soft_struct *fpu, int n)

Fixes: 7caf62de25554da3 ("sh: remove unused do_fpu_error")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Takashi YOSHII <takasi-y@ops.dti.ne.jp>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rich Felker <dalias@libc.org>
arch/sh/math-emu/math.c