git: ff1de4e02e1a - main - powerpc booke cpu_machine_check: Remove unused variable.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 18 Apr 2022 19:08:59 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=ff1de4e02e1a2d740780952ad4723851b2446dfd commit ff1de4e02e1a2d740780952ad4723851b2446dfd Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-18 19:08:10 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-04-18 19:08:10 +0000 powerpc booke cpu_machine_check: Remove unused variable. Reviewed by: jhibbits Differential Revision: https://reviews.freebsd.org/D34902 --- sys/powerpc/booke/machdep_e500.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/powerpc/booke/machdep_e500.c b/sys/powerpc/booke/machdep_e500.c index 0e4ac3943e2b..08c1b71c9cdb 100644 --- a/sys/powerpc/booke/machdep_e500.c +++ b/sys/powerpc/booke/machdep_e500.c @@ -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);