git: 66b88e7ea6f2 - main - cardbus: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 May 2022 22:43:07 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=66b88e7ea6f2336d5e1dde923e9e92fee2f69ef4 commit 66b88e7ea6f2336d5e1dde923e9e92fee2f69ef4 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-19 21:03:16 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-06 22:39:29 +0000 cardbus: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/cardbus/cardbus.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/cardbus/cardbus.c b/sys/dev/cardbus/cardbus.c index 17bcc4715308..c28b1558f28e 100644 --- a/sys/dev/cardbus/cardbus.c +++ b/sys/dev/cardbus/cardbus.c @@ -365,7 +365,5 @@ static device_method_t cardbus_methods[] = { DEFINE_CLASS_1(cardbus, cardbus_driver, cardbus_methods, sizeof(struct cardbus_softc), pci_driver); -static devclass_t cardbus_devclass; - -DRIVER_MODULE(cardbus, cbb, cardbus_driver, cardbus_devclass, 0, 0); +DRIVER_MODULE(cardbus, cbb, cardbus_driver, 0, 0); MODULE_VERSION(cardbus, 1);