Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 May 2022 19:23:27 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: c8d40269a496 - main - safexcel: Remove unused devclass argument to DRIVER_MODULE.
Message-ID:  <202205091923.249JNR0d086202@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=c8d40269a496845920ef31ff74238745875b5bb3

commit c8d40269a496845920ef31ff74238745875b5bb3
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-05-09 19:22:04 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-09 19:22:04 +0000

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

diff --git a/sys/dev/safexcel/safexcel.c b/sys/dev/safexcel/safexcel.c
index 174233850db7..14540d1c548e 100644
--- a/sys/dev/safexcel/safexcel.c
+++ b/sys/dev/safexcel/safexcel.c
@@ -2602,14 +2602,12 @@ static device_method_t safexcel_methods[] = {
 	DEVMETHOD_END
 };
 
-static devclass_t safexcel_devclass;
-
 static driver_t safexcel_driver = {
 	.name 		= "safexcel",
 	.methods 	= safexcel_methods,
 	.size		= sizeof(struct safexcel_softc),
 };
 
-DRIVER_MODULE(safexcel, simplebus, safexcel_driver, safexcel_devclass, 0, 0);
+DRIVER_MODULE(safexcel, simplebus, safexcel_driver, 0, 0);
 MODULE_VERSION(safexcel, 1);
 MODULE_DEPEND(safexcel, crypto, 1, 1, 1);



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