git: a571fed7f457 - main - iwi/iwm/iwn: Remove unused devclass arguments to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 May 2022 22:43:34 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=a571fed7f457b7eb1207aca6871f9b066ca7b806 commit a571fed7f457b7eb1207aca6871f9b066ca7b806 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-20 16:43:47 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-06 22:39:31 +0000 iwi/iwm/iwn: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/iwi/if_iwi.c | 4 +--- sys/dev/iwm/if_iwm.c | 4 +--- sys/dev/iwn/if_iwn.c | 3 +-- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/sys/dev/iwi/if_iwi.c b/sys/dev/iwi/if_iwi.c index 0a65d4d635c2..9cf08e7d434f 100644 --- a/sys/dev/iwi/if_iwi.c +++ b/sys/dev/iwi/if_iwi.c @@ -242,9 +242,7 @@ static driver_t iwi_driver = { sizeof (struct iwi_softc) }; -static devclass_t iwi_devclass; - -DRIVER_MODULE(iwi, pci, iwi_driver, iwi_devclass, NULL, NULL); +DRIVER_MODULE(iwi, pci, iwi_driver, NULL, NULL); MODULE_VERSION(iwi, 1); diff --git a/sys/dev/iwm/if_iwm.c b/sys/dev/iwm/if_iwm.c index 257441531a37..c3a7e45c574d 100644 --- a/sys/dev/iwm/if_iwm.c +++ b/sys/dev/iwm/if_iwm.c @@ -6586,9 +6586,7 @@ static driver_t iwm_pci_driver = { sizeof (struct iwm_softc) }; -static devclass_t iwm_devclass; - -DRIVER_MODULE(iwm, pci, iwm_pci_driver, iwm_devclass, NULL, NULL); +DRIVER_MODULE(iwm, pci, iwm_pci_driver, NULL, NULL); MODULE_PNP_INFO("U16:device;P:#;T:vendor=0x8086", pci, iwm_pci_driver, iwm_devices, nitems(iwm_devices)); MODULE_DEPEND(iwm, firmware, 1, 1, 1); diff --git a/sys/dev/iwn/if_iwn.c b/sys/dev/iwn/if_iwn.c index 4ef388cfb8f8..c57734d74456 100644 --- a/sys/dev/iwn/if_iwn.c +++ b/sys/dev/iwn/if_iwn.c @@ -374,9 +374,8 @@ static driver_t iwn_driver = { iwn_methods, sizeof(struct iwn_softc) }; -static devclass_t iwn_devclass; -DRIVER_MODULE(iwn, pci, iwn_driver, iwn_devclass, NULL, NULL); +DRIVER_MODULE(iwn, pci, iwn_driver, NULL, NULL); MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, iwn, iwn_ident_table, nitems(iwn_ident_table) - 1); MODULE_VERSION(iwn, 1);