aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2022-05-09 19:22:00 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2022-05-09 19:22:00 +0000
commit64d3221c61122b9a6a73f107c8145e92b47eb4c8 (patch)
tree0e659504920ada04636a57a19668b4894641acb9 /sys
parent162c26ad772e6eafee49af0bbedbf40eb62a158e (diff)
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/bnxt/if_bnxt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/bnxt/if_bnxt.c b/sys/dev/bnxt/if_bnxt.c
index 1805a1f24f93..a2ec25a9ad31 100644
--- a/sys/dev/bnxt/if_bnxt.c
+++ b/sys/dev/bnxt/if_bnxt.c
@@ -237,8 +237,7 @@ static driver_t bnxt_driver = {
"bnxt", bnxt_methods, sizeof(struct bnxt_softc),
};
-devclass_t bnxt_devclass;
-DRIVER_MODULE(bnxt, pci, bnxt_driver, bnxt_devclass, 0, 0);
+DRIVER_MODULE(bnxt, pci, bnxt_driver, 0, 0);
MODULE_DEPEND(bnxt, pci, 1, 1, 1);
MODULE_DEPEND(bnxt, ether, 1, 1, 1);