diff options
| author | ShengYi Hung <aokblast@FreeBSD.org> | 2025-09-10 16:33:33 +0000 |
|---|---|---|
| committer | ShengYi Hung <aokblast@FreeBSD.org> | 2025-09-11 16:41:45 +0000 |
| commit | 3449a3abab892a0a1124ee4edbc10d6d28b87af3 (patch) | |
| tree | ef21650aec19d153280833b9437b83f3d68d0033 | |
| parent | 5ca390f03bc63bccc8952313d536fd4bcabf2cab (diff) | |
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
| -rw-r--r-- | sys/dev/ichwd/i6300esbwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |
