aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2022-04-20 16:41:47 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2022-05-06 22:39:31 +0000
commit64afbe6a511118e1a4b723f9a4178b3e81231610 (patch)
treee00e254ccc22b98d0b1b6a0aab19d17eafb4920d
parent3144501a3f777d3bf89df9728d437ae177df47eb (diff)
downloadsrc-64afbe6a511118e1a4b723f9a4178b3e81231610.tar.gz
src-64afbe6a511118e1a4b723f9a4178b3e81231610.zip
ipw: Remove unused devclass argument to DRIVER_MODULE.
-rw-r--r--sys/dev/ipw/if_ipw.c4
1 files changed, 1 insertions, 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);