diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2024-04-13 14:20:49 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2024-04-13 14:20:49 +0000 |
commit | 74f4e922a5724f33e1740f19ff2c25e34337ee5b (patch) | |
tree | 0e23ccb8e96904d441e8f96105856b469b49bed4 /sys/dev/fdt | |
parent | 3a0d8f48135aa9daf7f849a7e9f4c2577348e257 (diff) |
Renove unused function and prototype.
ok jsg@
Diffstat (limited to 'sys/dev/fdt')
-rw-r--r-- | sys/dev/fdt/psci.c | 10 | ||||
-rw-r--r-- | sys/dev/fdt/pscivar.h | 1 |
2 files changed, 1 insertions, 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 <jsg@openbsd.org> @@ -213,14 +213,6 @@ psci_flush_bp_smccc_arch_workaround_1(void) } 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) { struct psci_softc *sc = psci_sc; 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); |