Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 May 2022 19:22:42 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: b3ed7cc5e632 - main - coretemp: Remove unused devclass argument to DRIVER_MODULE.
Message-ID:  <202205091922.249JMgeY085218@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205091922.249JMgeY085218>