Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Mar 2026 15:08:51 +0000
From:      ShengYi Hung <aokblast@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 8e61067dab49 - stable/14 - ichwd: address unused function warning by marking as __unused
Message-ID:  <69a84b03.26a70.72321e6a@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/14 has been updated by aokblast:

URL: https://cgit.FreeBSD.org/src/commit/?id=8e61067dab49470e61f59be2836fa89f17b99c4e

commit 8e61067dab49470e61f59be2836fa89f17b99c4e
Author:     ShengYi Hung <aokblast@FreeBSD.org>
AuthorDate: 2025-09-10 16:33:33 +0000
Commit:     ShengYi Hung <aokblast@FreeBSD.org>
CommitDate: 2026-03-04 15:08:34 +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
    
    (cherry picked from commit 3449a3abab892a0a1124ee4edbc10d6d28b87af3)
---
 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));


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69a84b03.26a70.72321e6a>