powerpc booke cpu_machine_check: Remove unused variable.

Reviewed by:	jhibbits
Differential Revision:	https://reviews.freebsd.org/D34902
This commit is contained in:
John Baldwin 2022-04-18 12:08:10 -07:00
parent 6f568b14cb
commit ff1de4e02e

View file

@ -134,9 +134,6 @@ booke_disable_l2_cache(void)
int
cpu_machine_check(struct thread *td, struct trapframe *frame, int *ucode)
{
register_t mcsr;
mcsr = mfspr(SPR_MCSR);
*ucode = BUS_OBJERR;
return (SIGBUS);