From 6cf281816285f0730f1d4bfe34defac28e8efde6 Mon Sep 17 00:00:00 2001 From: mmacy Date: Fri, 8 Jun 2018 20:39:49 +0000 Subject: [PATCH] hwpmc: remove dangling references to hwpmc_xscale Reported by: mjg --- sys/dev/hwpmc/hwpmc_arm.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/sys/dev/hwpmc/hwpmc_arm.c b/sys/dev/hwpmc/hwpmc_arm.c index a073ba4fca0e..e9e4aef7ec01 100644 --- a/sys/dev/hwpmc/hwpmc_arm.c +++ b/sys/dev/hwpmc/hwpmc_arm.c @@ -58,10 +58,6 @@ __FBSDID("$FreeBSD$"); struct pmc_mdep * pmc_md_initialize() { -#ifdef CPU_XSCALE_IXP425 - if (cpu_class == CPU_CLASS_XSCALE) - return pmc_xscale_initialize(); -#endif #ifdef CPU_CORTEXA if (cpu_class == CPU_CLASS_CORTEXA) return pmc_armv7_initialize(); @@ -72,13 +68,6 @@ pmc_md_initialize() void pmc_md_finalize(struct pmc_mdep *md) { -#ifdef CPU_XSCALE_IXP425 - if (cpu_class == CPU_CLASS_XSCALE) - pmc_xscale_finalize(md); - else - KASSERT(0, ("[arm,%d] Unknown CPU Class 0x%x", __LINE__, - cpu_class)); -#endif #ifdef CPU_CORTEXA if (cpu_class == CPU_CLASS_CORTEXA) pmc_armv7_finalize(md);