git: 60b0c7e66fee - stable/15 - ichwd: address unused function warning by marking as __unused

From: ShengYi Hung <aokblast_at_FreeBSD.org>
Date: Tue, 23 Sep 2025 17:18:46 UTC
The branch stable/15 has been updated by aokblast:

URL: https://cgit.FreeBSD.org/src/commit/?id=60b0c7e66fee4b205583dfb62b02e257c0214084

commit 60b0c7e66fee4b205583dfb62b02e257c0214084
Author:     ShengYi Hung <aokblast@FreeBSD.org>
AuthorDate: 2025-09-10 16:33:33 +0000
Commit:     ShengYi Hung <aokblast@FreeBSD.org>
CommitDate: 2023-01-01 23:29:28 +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));