git: b45db762604a - main - malo: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 May 2022 22:43:40 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=b45db762604ac81092fff9eaaa6352e6b0dd4c80
commit b45db762604ac81092fff9eaaa6352e6b0dd4c80
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-04-20 16:48:24 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-06 22:39:31 +0000
malo: Remove unused devclass argument to DRIVER_MODULE.
---
sys/dev/malo/if_malo_pci.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sys/dev/malo/if_malo_pci.c b/sys/dev/malo/if_malo_pci.c
index 0d1b7f9995a0..6dba8c1edb76 100644
--- a/sys/dev/malo/if_malo_pci.c
+++ b/sys/dev/malo/if_malo_pci.c
@@ -347,8 +347,7 @@ static driver_t malo_pci_driver = {
sizeof(struct malo_pci_softc)
};
-static devclass_t malo_devclass;
-DRIVER_MODULE(malo, pci, malo_pci_driver, malo_devclass, 0, 0);
+DRIVER_MODULE(malo, pci, malo_pci_driver, 0, 0);
MODULE_VERSION(malo, 1);
MODULE_DEPEND(malo, wlan, 1, 1, 1); /* 802.11 media layer */
MODULE_DEPEND(malo, firmware, 1, 1, 1);