Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 May 2022 17:36:08 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: da4650a57633 - main - goldfish_rtc: Remove unused devclass argument to DRIVER_MODULE.
Message-ID:  <202205101736.24AHa8XP098702@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=da4650a576334302c5b0dbcd0292a6f4d6459f42

commit da4650a576334302c5b0dbcd0292a6f4d6459f42
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-05-10 17:21:37 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-10 17:21:37 +0000

    goldfish_rtc: Remove unused devclass argument to DRIVER_MODULE.
---
 sys/dev/goldfish/goldfish_rtc.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sys/dev/goldfish/goldfish_rtc.c b/sys/dev/goldfish/goldfish_rtc.c
index d1c2b6627ae2..6cd209ff5872 100644
--- a/sys/dev/goldfish/goldfish_rtc.c
+++ b/sys/dev/goldfish/goldfish_rtc.c
@@ -176,7 +176,5 @@ static device_method_t goldfish_rtc_methods[] = {
 
 DEFINE_CLASS_0(goldfish_rtc, goldfish_rtc_driver, goldfish_rtc_methods,
     sizeof(struct goldfish_rtc_softc));
-static devclass_t goldfish_rtc_devclass;
 
-DRIVER_MODULE(goldfish_rtc, simplebus, goldfish_rtc_driver,
-    goldfish_rtc_devclass, NULL, NULL);
+DRIVER_MODULE(goldfish_rtc, simplebus, goldfish_rtc_driver, NULL, NULL);



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