git: c8d40269a496 - main - safexcel: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 May 2022 19:23:27 UTC
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);