Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Feb 2023 18:50:11 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 19a7cf0ce8ea - main - scmi: Suppress a couple of -Wunused-function warnings
Message-ID:  <202302241850.31OIoBJX012818@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=19a7cf0ce8ea07d93108331aa2099dc7d8973745

commit 19a7cf0ce8ea07d93108331aa2099dc7d8973745
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2023-02-24 18:40:58 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2023-02-24 18:44:52 +0000

    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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302241850.31OIoBJX012818>