git: 8bd4459560f3 - main - pmccontrol: drop Pentium 4 special case

From: Mitchell Horne <mhorne_at_FreeBSD.org>
Date: Sat, 06 May 2023 17:49:40 UTC
The branch main has been updated by mhorne:

URL: https://cgit.FreeBSD.org/src/commit/?id=8bd4459560f39bdbccba76a21539136a7a44b9d7

commit 8bd4459560f39bdbccba76a21539136a7a44b9d7
Author:     Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2023-05-05 21:57:23 +0000
Commit:     Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2023-05-06 17:49:18 +0000

    pmccontrol: drop Pentium 4 special case
    
    This is dead code; we no longer support Pentium hardware in libpmc or
    hwpmc.
    
    MFC after:      2 weeks
    Sponsored by:   The FreeBSD Foundation
---
 usr.sbin/pmccontrol/pmccontrol.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/usr.sbin/pmccontrol/pmccontrol.c b/usr.sbin/pmccontrol/pmccontrol.c
index 1130c2c07b20..c1a1040ecfbe 100644
--- a/usr.sbin/pmccontrol/pmccontrol.c
+++ b/usr.sbin/pmccontrol/pmccontrol.c
@@ -241,11 +241,6 @@ pmcc_do_list_state(void)
 	ncpu = pc->pm_ncpu;
 
 	for (c = cpu = 0; cpu < ncpu; cpu++) {
-#if	defined(__i386__) || defined(__amd64__)
-		if (pc->pm_cputype == PMC_CPU_INTEL_PIV &&
-		    CPU_ISSET(cpu, &logical_cpus_mask))
-			continue; /* skip P4-style 'logical' cpus */
-#endif
 		if (pmc_pmcinfo(cpu, &pi) < 0) {
 			if (errno == ENXIO)
 				continue;