Date: Tue, 10 May 2022 17:36:28 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: 0a763c165f69 - main - powerpc nexus: Remove unused devclass argument to DRIVER_MODULE. Message-ID: <202205101736.24AHaS4m099153@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=0a763c165f699e616b1ea0c72fb594124ba4ab69 commit 0a763c165f699e616b1ea0c72fb594124ba4ab69 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 nexus: Remove unused devclass argument to DRIVER_MODULE. --- sys/powerpc/powerpc/nexus.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sys/powerpc/powerpc/nexus.c b/sys/powerpc/powerpc/nexus.c index b3fe5a3e1527..a73e6efe82ca 100644 --- a/sys/powerpc/powerpc/nexus.c +++ b/sys/powerpc/powerpc/nexus.c @@ -111,11 +111,8 @@ static device_method_t nexus_methods[] = { DEVMETHOD_END }; -static devclass_t nexus_devclass; - DEFINE_CLASS_0(nexus, nexus_driver, nexus_methods, 1); -EARLY_DRIVER_MODULE(nexus, root, nexus_driver, nexus_devclass, 0, 0, - BUS_PASS_BUS); +EARLY_DRIVER_MODULE(nexus, root, nexus_driver, 0, 0, BUS_PASS_BUS); MODULE_VERSION(nexus, 1); static int
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205101736.24AHaS4m099153>