git: 14a88ee6addc - main - asmc: remove the unused sc_dev softc field
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 15 Nov 2026 21:21:49 UTC
The branch main has been updated by seuros:
URL: https://cgit.FreeBSD.org/src/commit/?id=14a88ee6addc8e03abd7802bb05328ed67a96efc
commit 14a88ee6addc8e03abd7802bb05328ed67a96efc
Author: Abdelkader Boudih <seuros@FreeBSD.org>
AuthorDate: 2026-11-15 21:12:42 +0000
Commit: Abdelkader Boudih <seuros@FreeBSD.org>
CommitDate: 2026-11-15 21:12:42 +0000
asmc: remove the unused sc_dev softc field
It was never assigned or read. legacy code.
MFC after: 3 days
Reviewed by: ngie
Differential Revision: https://reviews.freebsd.org/D61481
---
sys/dev/asmc/asmcvar.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/sys/dev/asmc/asmcvar.h b/sys/dev/asmc/asmcvar.h
index da950f0e8d8e..5ba34533ca6a 100644
--- a/sys/dev/asmc/asmcvar.h
+++ b/sys/dev/asmc/asmcvar.h
@@ -44,7 +44,6 @@
#define ASMC_TEMP_MAX 80
struct asmc_softc {
- device_t sc_dev;
struct mtx sc_mtx;
int sc_nfan;
int sc_nkeys;