git: 64afbe6a5111 - main - ipw: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 May 2022 22:43:32 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=64afbe6a511118e1a4b723f9a4178b3e81231610
commit 64afbe6a511118e1a4b723f9a4178b3e81231610
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-04-20 16:41:47 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-06 22:39:31 +0000
ipw: Remove unused devclass argument to DRIVER_MODULE.
---
sys/dev/ipw/if_ipw.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sys/dev/ipw/if_ipw.c b/sys/dev/ipw/if_ipw.c
index 74898589631e..c64a0c74ea8a 100644
--- a/sys/dev/ipw/if_ipw.c
+++ b/sys/dev/ipw/if_ipw.c
@@ -199,9 +199,7 @@ static driver_t ipw_driver = {
sizeof (struct ipw_softc)
};
-static devclass_t ipw_devclass;
-
-DRIVER_MODULE(ipw, pci, ipw_driver, ipw_devclass, NULL, NULL);
+DRIVER_MODULE(ipw, pci, ipw_driver, NULL, NULL);
MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, ipw, ipw_ident_table,
nitems(ipw_ident_table) - 1);