git: 8b2be9cbabb9 - main - mrsas: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 May 2022 22:43:46 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=8b2be9cbabb9d467584e0d6a4c6141c7925475f0 commit 8b2be9cbabb9d467584e0d6a4c6141c7925475f0 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-20 17:04:56 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-06 22:39:32 +0000 mrsas: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/mrsas/mrsas.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/mrsas/mrsas.c b/sys/dev/mrsas/mrsas.c index b271ce6264b4..6247cc2b142c 100644 --- a/sys/dev/mrsas/mrsas.c +++ b/sys/dev/mrsas/mrsas.c @@ -5047,7 +5047,5 @@ static driver_t mrsas_driver = { sizeof(struct mrsas_softc) }; -static devclass_t mrsas_devclass; - -DRIVER_MODULE(mrsas, pci, mrsas_driver, mrsas_devclass, 0, 0); +DRIVER_MODULE(mrsas, pci, mrsas_driver, 0, 0); MODULE_DEPEND(mrsas, cam, 1, 1, 1);