The branch main has been updated by jhb:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=51776a92ca4abc726bda5749a4255876dbce550e

commit 51776a92ca4abc726bda5749a4255876dbce550e
Author:     John Baldwin <j...@freebsd.org>
AuthorDate: 2022-05-06 22:46:57 +0000
Commit:     John Baldwin <j...@freebsd.org>
CommitDate: 2022-05-06 22:46:57 +0000

    wpi: Remove unused devclass argument to DRIVER_MODULE.
---
 sys/dev/wpi/if_wpi.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sys/dev/wpi/if_wpi.c b/sys/dev/wpi/if_wpi.c
index 3d4e80ab61ad..8d8dca58cd44 100644
--- a/sys/dev/wpi/if_wpi.c
+++ b/sys/dev/wpi/if_wpi.c
@@ -302,9 +302,8 @@ static driver_t wpi_driver = {
        wpi_methods,
        sizeof (struct wpi_softc)
 };
-static devclass_t wpi_devclass;
 
-DRIVER_MODULE(wpi, pci, wpi_driver, wpi_devclass, NULL, NULL);
+DRIVER_MODULE(wpi, pci, wpi_driver, NULL, NULL);
 
 MODULE_VERSION(wpi, 1);
 

Reply via email to