git: aed8cdc8cd9a - main - ral: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 May 2022 23:24:42 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=aed8cdc8cd9a810e67d9374d1a18cb27771ef2cc
commit aed8cdc8cd9a810e67d9374d1a18cb27771ef2cc
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-05-06 22:46:55 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-06 22:46:55 +0000
ral: Remove unused devclass argument to DRIVER_MODULE.
---
sys/dev/ral/if_ral_pci.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sys/dev/ral/if_ral_pci.c b/sys/dev/ral/if_ral_pci.c
index e1a89bde27b5..cde3858ec687 100644
--- a/sys/dev/ral/if_ral_pci.c
+++ b/sys/dev/ral/if_ral_pci.c
@@ -176,9 +176,7 @@ static driver_t ral_pci_driver = {
sizeof (struct ral_pci_softc)
};
-static devclass_t ral_devclass;
-
-DRIVER_MODULE(ral, pci, ral_pci_driver, ral_devclass, NULL, NULL);
+DRIVER_MODULE(ral, pci, ral_pci_driver, NULL, NULL);
MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, ral, ral_pci_ids,
nitems(ral_pci_ids) - 1);