Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit b1013f1e authored by Paul Burton's avatar Paul Burton
Browse files

MIPS: BCM5xxx: Remove dead init_fpu code



The BMIPS5xxx core_init function contains a call to an init_fpu function
inside an #ifdef whose condition never evaluates true. Remove the dead
code. FPU initialization happens later, primarily when a userland
program attempts to use it.

Signed-off-by: default avatarPaul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/21018/
Cc: linux-mips@linux-mips.org
parent b7f1e273
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -632,12 +632,6 @@ core_init:
	bal	set_zephyr
	nop

#if ENABLE_FPU==1
	/* initialize the Floating point unit (both TPs) */
	bal	init_fpu
	nop
#endif

	/* set low latency memory bus */
	li	a0, 1
	bal	set_llmb