aboutsummaryrefslogtreecommitdiff
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
commit03cfce6f7381603ccc4715900ab6e1861a285d44 (patch)
tree4aff86dbab7a1ea35b7add0a6042b53c111fcc56
parent30c024c54afce39a21642308e87891c06cbb6fc5 (diff)
downloadsrc-03cfce6f7381603ccc4715900ab6e1861a285d44.tar.gz
src-03cfce6f7381603ccc4715900ab6e1861a285d44.zip
rtsx: Remove unused devclass argument to DRIVER_MODULE.
-rw-r--r--sys/dev/rtsx/rtsx.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/rtsx/rtsx.c b/sys/dev/rtsx/rtsx.c
index f706c4ac9025..65c4aa809de9 100644
--- a/sys/dev/rtsx/rtsx.c
+++ b/sys/dev/rtsx/rtsx.c
@@ -3905,10 +3905,8 @@ static device_method_t rtsx_methods[] = {
DEVMETHOD_END
};
-static devclass_t rtsx_devclass;
-
DEFINE_CLASS_0(rtsx, rtsx_driver, rtsx_methods, sizeof(struct rtsx_softc));
-DRIVER_MODULE(rtsx, pci, rtsx_driver, rtsx_devclass, NULL, NULL);
+DRIVER_MODULE(rtsx, pci, rtsx_driver, NULL, NULL);
#ifndef MMCCAM
MMC_DECLARE_BRIDGE(rtsx);
#endif /* !MMCCAM */