Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 2025 16:42:48 GMT
From:      ShengYi Hung <aokblast@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 3449a3abab89 - main - ichwd: address unused function warning by marking as __unused
Message-ID:  <202509111642.58BGgmoj058178@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/src/commit/?id=3449a3abab892a0a1124ee4edbc10d6d28b87af3

commit 3449a3abab892a0a1124ee4edbc10d6d28b87af3
Author:     ShengYi Hung <aokblast@FreeBSD.org>
AuthorDate: 2025-09-10 16:33:33 +0000
Commit:     ShengYi Hung <aokblast@FreeBSD.org>
CommitDate: 2025-09-11 16:41:45 +0000

    ichwd: address unused function warning by marking as __unused
    
    Reported by:    markj, bz
    Approved by:    markj (mentor)
    Fixes:  2b74ff5fceb6 ("ichwd: introduce i6300esbwd watch dog driver")
    Differential Revision: https://reviews.freebsd.org/D52476
---
 sys/dev/ichwd/i6300esbwd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/ichwd/i6300esbwd.c b/sys/dev/ichwd/i6300esbwd.c
index d95aeb53c3f5..03d504a350aa 100644
--- a/sys/dev/ichwd/i6300esbwd.c
+++ b/sys/dev/ichwd/i6300esbwd.c
@@ -45,7 +45,7 @@ static const struct i6300esbwd_pci_id {
 	{ DEVICEID_6300ESB_2, "6300ESB Watchdog Timer" },
 };
 
-static uint16_t
+static uint16_t __unused
 i6300esbwd_cfg_read(struct i6300esbwd_softc *sc)
 {
 	return (pci_read_config(sc->dev, WDT_CONFIG_REG, 2));



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