git: 10155347e453 - main - sume: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 May 2022 19:23:31 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=10155347e453b40fe3fbbc724009dfa5a87d4d13 commit 10155347e453b40fe3fbbc724009dfa5a87d4d13 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-09 19:22:04 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-09 19:22:04 +0000 sume: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/sume/if_sume.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/dev/sume/if_sume.c b/sys/dev/sume/if_sume.c index ba9a5098000d..3050fbd18198 100644 --- a/sys/dev/sume/if_sume.c +++ b/sys/dev/sume/if_sume.c @@ -1596,7 +1596,6 @@ mod_event(module_t mod, int cmd, void *arg) return (0); } -static devclass_t sume_devclass; -DRIVER_MODULE(sume, pci, sume_driver, sume_devclass, mod_event, 0); +DRIVER_MODULE(sume, pci, sume_driver, mod_event, NULL); MODULE_VERSION(sume, 1);