git: f6a99df5da68 - main - powerpc mambo: Remove unused devclass arguments to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 10 May 2022 17:36:19 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=f6a99df5da6894df5d91fb6eb0e53ec71a981716 commit f6a99df5da6894df5d91fb6eb0e53ec71a981716 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-10 17:21:38 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-10 17:21:38 +0000 powerpc mambo: Remove unused devclass arguments to DRIVER_MODULE. --- sys/powerpc/mambo/mambo.c | 4 +--- sys/powerpc/mambo/mambo_disk.c | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/sys/powerpc/mambo/mambo.c b/sys/powerpc/mambo/mambo.c index 6b57d052943a..528f29fed83e 100644 --- a/sys/powerpc/mambo/mambo.c +++ b/sys/powerpc/mambo/mambo.c @@ -75,9 +75,7 @@ static driver_t mambobus_driver = { 0 }; -static devclass_t mambobus_devclass; - -DRIVER_MODULE(mambo, ofwbus, mambobus_driver, mambobus_devclass, 0, 0); +DRIVER_MODULE(mambo, ofwbus, mambobus_driver, 0, 0); static int mambobus_probe(device_t dev) diff --git a/sys/powerpc/mambo/mambo_disk.c b/sys/powerpc/mambo/mambo_disk.c index 935aeab636bc..bc8c46772ccb 100644 --- a/sys/powerpc/mambo/mambo_disk.c +++ b/sys/powerpc/mambo/mambo_disk.c @@ -274,6 +274,5 @@ static driver_t mambodisk_driver = { mambodisk_methods, sizeof(struct mambodisk_softc), }; -static devclass_t mambodisk_devclass; -DRIVER_MODULE(mambodisk, mambo, mambodisk_driver, mambodisk_devclass, 0, 0); +DRIVER_MODULE(mambodisk, mambo, mambodisk_driver, 0, 0);