git: 05a86e7c3cc1 - main - igc: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 May 2022 22:43:29 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=05a86e7c3cc1549aec15779a1d107ee683b074a7
commit 05a86e7c3cc1549aec15779a1d107ee683b074a7
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-04-20 16:39:56 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-06 22:39:30 +0000
igc: Remove unused devclass argument to DRIVER_MODULE.
---
sys/dev/igc/if_igc.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sys/dev/igc/if_igc.c b/sys/dev/igc/if_igc.c
index 436493185d5c..f2803c01850e 100644
--- a/sys/dev/igc/if_igc.c
+++ b/sys/dev/igc/if_igc.c
@@ -167,8 +167,7 @@ static driver_t igc_driver = {
"igc", igc_methods, sizeof(struct igc_adapter),
};
-static devclass_t igc_devclass;
-DRIVER_MODULE(igc, pci, igc_driver, igc_devclass, 0, 0);
+DRIVER_MODULE(igc, pci, igc_driver, 0, 0);
MODULE_DEPEND(igc, pci, 1, 1, 1);
MODULE_DEPEND(igc, ether, 1, 1, 1);