git: 51776a92ca4a - main - wpi: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 May 2022 23:25:13 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=51776a92ca4abc726bda5749a4255876dbce550e
commit 51776a92ca4abc726bda5749a4255876dbce550e
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-05-06 22:46:57 +0000
Commit: John Baldwin <jhb@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);