aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2022-05-06 22:46:55 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2022-05-06 22:46:55 +0000
commitaed8cdc8cd9a810e67d9374d1a18cb27771ef2cc (patch)
tree9b01519a36238d71f51b963dba8e800401004599 /sys
parent55771d1c0b65416e490239162769f9ccd3b29c1e (diff)
downloadsrc-aed8cdc8cd9a810e67d9374d1a18cb27771ef2cc.tar.gz
src-aed8cdc8cd9a810e67d9374d1a18cb27771ef2cc.zip
ral: Remove unused devclass argument to DRIVER_MODULE.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ral/if_ral_pci.c4
1 files changed, 1 insertions, 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);