Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 May 2022 22:43:36 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: 4cdbea973440 - main - jme: Remove unused devclass argument to DRIVER_MODULE.
Message-ID:  <202205062243.246Mha1T019910@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=4cdbea973440db6a936cc618f0a020f657754c66

commit 4cdbea973440db6a936cc618f0a020f657754c66
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-04-20 16:45:57 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-06 22:39:31 +0000

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

diff --git a/sys/dev/jme/if_jme.c b/sys/dev/jme/if_jme.c
index 90ecf4bbec58..45a8444dd6e3 100644
--- a/sys/dev/jme/if_jme.c
+++ b/sys/dev/jme/if_jme.c
@@ -190,9 +190,7 @@ static driver_t jme_driver = {
 	sizeof(struct jme_softc)
 };
 
-static devclass_t jme_devclass;
-
-DRIVER_MODULE(jme, pci, jme_driver, jme_devclass, 0, 0);
+DRIVER_MODULE(jme, pci, jme_driver, 0, 0);
 DRIVER_MODULE(miibus, jme, miibus_driver, 0, 0);
 
 static struct resource_spec jme_res_spec_mem[] = {



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