git: 9104bbeb8de9 - main - mvneta: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 May 2022 21:48:04 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=9104bbeb8de9ed13998a09c9a8d6b7776d928a4f commit 9104bbeb8de9ed13998a09c9a8d6b7776d928a4f Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-09 21:26:46 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-09 21:26:46 +0000 mvneta: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/neta/if_mvneta_fdt.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/dev/neta/if_mvneta_fdt.c b/sys/dev/neta/if_mvneta_fdt.c index 102ee1f1c884..8d0b2e09b4e0 100644 --- a/sys/dev/neta/if_mvneta_fdt.c +++ b/sys/dev/neta/if_mvneta_fdt.c @@ -83,10 +83,8 @@ static device_method_t mvneta_fdt_methods[] = { DEFINE_CLASS_1(mvneta, mvneta_fdt_driver, mvneta_fdt_methods, sizeof(struct mvneta_softc), mvneta_driver); -static devclass_t mvneta_fdt_devclass; - -DRIVER_MODULE(mvneta, ofwbus, mvneta_fdt_driver, mvneta_fdt_devclass, 0, 0); -DRIVER_MODULE(mvneta, simplebus, mvneta_fdt_driver, mvneta_fdt_devclass, 0, 0); +DRIVER_MODULE(mvneta, ofwbus, mvneta_fdt_driver, 0, 0); +DRIVER_MODULE(mvneta, simplebus, mvneta_fdt_driver, 0, 0); static int mvneta_fdt_phy_acquire(device_t);