Date: Fri, 6 May 2022 23:24:45 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 03cfce6f7381 - main - rtsx: Remove unused devclass argument to DRIVER_MODULE. Message-ID: <202205062324.246NOjPJ074956@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=03cfce6f7381603ccc4715900ab6e1861a285d44 commit 03cfce6f7381603ccc4715900ab6e1861a285d44 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-06 22:46:56 +0000 Commit: John Baldwin <jhb@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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205062324.246NOjPJ074956>