aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ste/if_ste.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2022-05-06 22:46:56 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2022-05-06 22:46:56 +0000
commitb04a8a6907fd2ddfd60daf2fa2510c8c65298fc5 (patch)
tree28639983ec8acb8226b9254a468f20c03fdde706 /sys/dev/ste/if_ste.c
parent3390adfe4200c19fe86fa690c9e77f9b58d7288a (diff)
downloadsrc-b04a8a6907fd2ddfd60daf2fa2510c8c65298fc5.tar.gz
src-b04a8a6907fd2ddfd60daf2fa2510c8c65298fc5.zip
ste: Remove unused devclass argument to DRIVER_MODULE.
Diffstat (limited to 'sys/dev/ste/if_ste.c')
-rw-r--r--sys/dev/ste/if_ste.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/ste/if_ste.c b/sys/dev/ste/if_ste.c
index 41375c13de60..19d71ca9773a 100644
--- a/sys/dev/ste/if_ste.c
+++ b/sys/dev/ste/if_ste.c
@@ -178,9 +178,7 @@ static driver_t ste_driver = {
sizeof(struct ste_softc)
};
-static devclass_t ste_devclass;
-
-DRIVER_MODULE(ste, pci, ste_driver, ste_devclass, 0, 0);
+DRIVER_MODULE(ste, pci, ste_driver, 0, 0);
DRIVER_MODULE(miibus, ste, miibus_driver, 0, 0);
#define STE_SETBIT4(sc, reg, x) \