From 19a7cf0ce8ea07d93108331aa2099dc7d8973745 Mon Sep 17 00:00:00 2001 From: Mark Johnston Date: Fri, 24 Feb 2023 13:40:58 -0500 Subject: [PATCH] scmi: Suppress a couple of -Wunused-function warnings No functional change intended. Sponsored by: Klara, Inc. --- sys/dev/firmware/arm/scmi_clk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/firmware/arm/scmi_clk.c b/sys/dev/firmware/arm/scmi_clk.c index a42f0ed2c0ba..77110282f9d0 100644 --- a/sys/dev/firmware/arm/scmi_clk.c +++ b/sys/dev/firmware/arm/scmi_clk.c @@ -58,7 +58,7 @@ struct scmi_clknode_softc { int clock_id; }; -static int +static int __unused scmi_clk_get_rate(struct scmi_clk_softc *sc, int clk_id, uint64_t *rate) { struct scmi_clk_rate_get_out out; @@ -117,7 +117,7 @@ scmi_clk_set_rate(struct scmi_clk_softc *sc, int clk_id, uint64_t rate) return (0); } -static int +static int __unused scmi_clk_gate(struct scmi_clk_softc *sc, int clk_id, int enable) { struct scmi_clk_state_out out;