git: 4e75e4962645 - main - oce: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 May 2022 19:23:16 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=4e75e4962645dfd2c3d6e7e35dee7e875d331e3b commit 4e75e4962645dfd2c3d6e7e35dee7e875d331e3b Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-09 19:22:03 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-09 19:22:03 +0000 oce: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/oce/oce_if.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/dev/oce/oce_if.c b/sys/dev/oce/oce_if.c index ff784918411d..0fb749a5ee29 100644 --- a/sys/dev/oce/oce_if.c +++ b/sys/dev/oce/oce_if.c @@ -209,7 +209,6 @@ static driver_t oce_driver = { oce_dispatch, sizeof(OCE_SOFTC) }; -static devclass_t oce_devclass; /* global vars */ const char component_revision[32] = {"///" COMPONENT_REVISION "///"}; @@ -232,7 +231,7 @@ static uint32_t supportedDevices[] = { (PCI_VENDOR_EMULEX << 16) | PCI_PRODUCT_SH }; -DRIVER_MODULE(oce, pci, oce_driver, oce_devclass, 0, 0); +DRIVER_MODULE(oce, pci, oce_driver, 0, 0); MODULE_PNP_INFO("W32:vendor/device", pci, oce, supportedDevices, nitems(supportedDevices)); MODULE_DEPEND(oce, pci, 1, 1, 1);