git: 1dc1476cac52 - main - ena: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 May 2022 19:22:48 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=1dc1476cac52a65c6a25e786f90ccc7529b6a7de commit 1dc1476cac52a65c6a25e786f90ccc7529b6a7de Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-09 19:22:01 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-09 19:22:01 +0000 ena: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/ena/ena.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/dev/ena/ena.c b/sys/dev/ena/ena.c index 9ba9f377c683..521c0bcda63c 100644 --- a/sys/dev/ena/ena.c +++ b/sys/dev/ena/ena.c @@ -3929,8 +3929,7 @@ static driver_t ena_driver = { "ena", ena_methods, sizeof(struct ena_adapter), }; -devclass_t ena_devclass; -DRIVER_MODULE(ena, pci, ena_driver, ena_devclass, 0, 0); +DRIVER_MODULE(ena, pci, ena_driver, 0, 0); MODULE_PNP_INFO("U16:vendor;U16:device", pci, ena, ena_vendor_info_array, nitems(ena_vendor_info_array) - 1); MODULE_DEPEND(ena, pci, 1, 1, 1);