git: b3ed7cc5e632 - main - coretemp: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 May 2022 19:22:42 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=b3ed7cc5e6322397a658c678f07a5029de4f5165
commit b3ed7cc5e6322397a658c678f07a5029de4f5165
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-05-09 19:22:01 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-09 19:22:01 +0000
coretemp: Remove unused devclass argument to DRIVER_MODULE.
---
sys/dev/coretemp/coretemp.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sys/dev/coretemp/coretemp.c b/sys/dev/coretemp/coretemp.c
index 251fb08b4c11..c81eb8371413 100644
--- a/sys/dev/coretemp/coretemp.c
+++ b/sys/dev/coretemp/coretemp.c
@@ -104,9 +104,7 @@ enum therm_info {
CORETEMP_TJMAX,
};
-static devclass_t coretemp_devclass;
-DRIVER_MODULE(coretemp, cpu, coretemp_driver, coretemp_devclass, NULL,
- NULL);
+DRIVER_MODULE(coretemp, cpu, coretemp_driver, NULL, NULL);
static void
coretemp_identify(driver_t *driver, device_t parent)