From 8feacbfab8bc311c7e89273407c37e3fe2b0c6eb Mon Sep 17 00:00:00 2001 From: kettenis Date: Sat, 13 Apr 2024 14:20:48 +0000 Subject: [PATCH] Renove unused function and prototype. ok jsg@ --- sys/dev/fdt/psci.c | 10 +--------- sys/dev/fdt/pscivar.h | 1 - 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/sys/dev/fdt/psci.c b/sys/dev/fdt/psci.c index c064823cc69..14bcd878690 100644 --- a/sys/dev/fdt/psci.c +++ b/sys/dev/fdt/psci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: psci.c,v 1.15 2024/03/18 21:57:22 kettenis Exp $ */ +/* $OpenBSD: psci.c,v 1.16 2024/04/13 14:20:48 kettenis Exp $ */ /* * Copyright (c) 2016 Jonathan Gray @@ -212,14 +212,6 @@ psci_flush_bp_smccc_arch_workaround_1(void) (*sc->sc_callfn)(SMCCC_ARCH_WORKAROUND_1, 0, 0, 0); } -void -psci_flush_bp_smccc_arch_workaround_3(void) -{ - struct psci_softc *sc = psci_sc; - - (*sc->sc_callfn)(SMCCC_ARCH_WORKAROUND_3, 0, 0, 0); -} - void psci_flush_bp(void) { diff --git a/sys/dev/fdt/pscivar.h b/sys/dev/fdt/pscivar.h index f13a757d7c5..ba8942b0353 100644 --- a/sys/dev/fdt/pscivar.h +++ b/sys/dev/fdt/pscivar.h @@ -17,7 +17,6 @@ int32_t psci_cpu_on(register_t, register_t, register_t); int32_t psci_cpu_off(void); int32_t psci_cpu_suspend(register_t, register_t, register_t); void psci_flush_bp(void); -int psci_flush_bp_has_bhb(void); int psci_method(void); int32_t smccc(uint32_t, register_t, register_t, register_t); -- 2.20.1