git: ff318bf6c0f0 - main - ioat: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 May 2022 19:23:04 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=ff318bf6c0f0d650a94d4c7ff11099910d595738
commit ff318bf6c0f0d650a94d4c7ff11099910d595738
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-05-09 19:22:02 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-09 19:22:02 +0000
ioat: Remove unused devclass argument to DRIVER_MODULE.
---
sys/dev/ioat/ioat.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sys/dev/ioat/ioat.c b/sys/dev/ioat/ioat.c
index d7935302f02f..74173803279d 100644
--- a/sys/dev/ioat/ioat.c
+++ b/sys/dev/ioat/ioat.c
@@ -147,8 +147,7 @@ static driver_t ioat_pci_driver = {
sizeof(struct ioat_softc),
};
-static devclass_t ioat_devclass;
-DRIVER_MODULE(ioat, pci, ioat_pci_driver, ioat_devclass, ioat_modevent, NULL);
+DRIVER_MODULE(ioat, pci, ioat_pci_driver, ioat_modevent, NULL);
MODULE_VERSION(ioat, 1);
/*