git: 0ac31026e1e0 - main - powerpc: remove dead code call into x86 perfmon

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Tue, 21 Apr 2026 14:20:24 UTC
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=0ac31026e1e0fb4e4b8a2eaa8ce2ead6a945dc6e

commit 0ac31026e1e0fb4e4b8a2eaa8ce2ead6a945dc6e
Author:     Ali Mashtizadeh <ali@mashtizadeh.com>
AuthorDate: 2026-04-20 22:23:57 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2026-04-21 14:20:10 +0000

    powerpc: remove dead code call into x86 perfmon
    
    FreeBSD and NetBSD has copied these lines from the x86 architecture when
    porting to other machines and forgetting to delete them.
    
    Reviewed by:    mhorne
    Sponsored by:   Netflix
    Pull Request:   https://github.com/freebsd/freebsd-src/pull/2154
---
 sys/powerpc/powerpc/machdep.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sys/powerpc/powerpc/machdep.c b/sys/powerpc/powerpc/machdep.c
index 04b3967ee110..a98f095cadc0 100644
--- a/sys/powerpc/powerpc/machdep.c
+++ b/sys/powerpc/powerpc/machdep.c
@@ -195,9 +195,6 @@ cpu_startup(void *dummy)
 	 */
 	cpu_setup(PCPU_GET(cpuid));
 
-#ifdef PERFMON
-	perfmon_init();
-#endif
 	printf("real memory  = %ju (%ju MB)\n", ptoa((uintmax_t)physmem),
 	    ptoa((uintmax_t)physmem) / 1048576);
 	realmem = physmem;