The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=03cfce6f7381603ccc4715900ab6e1861a285d44
commit 03cfce6f7381603ccc4715900ab6e1861a285d44 Author: John Baldwin <j...@freebsd.org> AuthorDate: 2022-05-06 22:46:56 +0000 Commit: John Baldwin <j...@freebsd.org> CommitDate: 2022-05-06 22:46:56 +0000 rtsx: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/rtsx/rtsx.c | 4 +--- 1 file changed, 1 insertion(+), 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 */