Renove unused function and prototype.
authorkettenis <kettenis@openbsd.org>
Sat, 13 Apr 2024 14:20:48 +0000 (14:20 +0000)
committerkettenis <kettenis@openbsd.org>
Sat, 13 Apr 2024 14:20:48 +0000 (14:20 +0000)
ok jsg@

sys/dev/fdt/psci.c
sys/dev/fdt/pscivar.h

index c064823..14bcd87 100644 (file)
@@ -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>
@@ -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)
 {
index f13a757..ba8942b 100644 (file)
@@ -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);