Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 May 2022 23:24:47 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: f451bab2b29e - main - sge: Remove unused devclass argument to DRIVER_MODULE.
Message-ID:  <202205062324.246NOl4u075010@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=f451bab2b29eda079e0c4dbdb75cdc98ee090a3f

commit f451bab2b29eda079e0c4dbdb75cdc98ee090a3f
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-05-06 22:46:56 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-06 22:46:56 +0000

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

diff --git a/sys/dev/sge/if_sge.c b/sys/dev/sge/if_sge.c
index a75276b83085..ae2a9760e031 100644
--- a/sys/dev/sge/if_sge.c
+++ b/sys/dev/sge/if_sge.c
@@ -173,9 +173,7 @@ static driver_t sge_driver = {
 	"sge", sge_methods, sizeof(struct sge_softc)
 };
 
-static devclass_t sge_devclass;
-
-DRIVER_MODULE(sge, pci, sge_driver, sge_devclass, 0, 0);
+DRIVER_MODULE(sge, pci, sge_driver, 0, 0);
 DRIVER_MODULE(miibus, sge, miibus_driver, 0, 0);
 
 /*



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