git: 74f84981902f - main - agp: Remove unused devclass arguments to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 May 2022 23:25:30 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=74f84981902ffa63e20c67e02c03dd449f3dddd3 commit 74f84981902ffa63e20c67e02c03dd449f3dddd3 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-06 22:46:59 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-06 22:46:59 +0000 agp: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/agp/agp_ali.c | 4 +--- sys/dev/agp/agp_amd.c | 4 +--- sys/dev/agp/agp_amd64.c | 4 +--- sys/dev/agp/agp_apple.c | 4 +--- sys/dev/agp/agp_ati.c | 4 +--- sys/dev/agp/agp_i810.c | 4 +--- sys/dev/agp/agp_intel.c | 4 +--- sys/dev/agp/agp_nvidia.c | 4 +--- sys/dev/agp/agp_sis.c | 4 +--- sys/dev/agp/agp_via.c | 4 +--- 10 files changed, 10 insertions(+), 30 deletions(-) diff --git a/sys/dev/agp/agp_ali.c b/sys/dev/agp/agp_ali.c index 9a49b6a9c015..0fb0f8b7ab4e 100644 --- a/sys/dev/agp/agp_ali.c +++ b/sys/dev/agp/agp_ali.c @@ -265,8 +265,6 @@ static driver_t agp_ali_driver = { sizeof(struct agp_ali_softc), }; -static devclass_t agp_devclass; - -DRIVER_MODULE(agp_ali, hostb, agp_ali_driver, agp_devclass, 0, 0); +DRIVER_MODULE(agp_ali, hostb, agp_ali_driver, 0, 0); MODULE_DEPEND(agp_ali, agp, 1, 1, 1); MODULE_DEPEND(agp_ali, pci, 1, 1, 1); diff --git a/sys/dev/agp/agp_amd.c b/sys/dev/agp/agp_amd.c index 6a90e1c7392a..b104ec73f7f7 100644 --- a/sys/dev/agp/agp_amd.c +++ b/sys/dev/agp/agp_amd.c @@ -404,8 +404,6 @@ static driver_t agp_amd_driver = { sizeof(struct agp_amd_softc), }; -static devclass_t agp_devclass; - -DRIVER_MODULE(agp_amd, hostb, agp_amd_driver, agp_devclass, 0, 0); +DRIVER_MODULE(agp_amd, hostb, agp_amd_driver, 0, 0); MODULE_DEPEND(agp_amd, agp, 1, 1, 1); MODULE_DEPEND(agp_amd, pci, 1, 1, 1); diff --git a/sys/dev/agp/agp_amd64.c b/sys/dev/agp/agp_amd64.c index 32395bc42081..b1e2ad6f4d28 100644 --- a/sys/dev/agp/agp_amd64.c +++ b/sys/dev/agp/agp_amd64.c @@ -508,8 +508,6 @@ static driver_t agp_amd64_driver = { sizeof(struct agp_amd64_softc), }; -static devclass_t agp_devclass; - -DRIVER_MODULE(agp_amd64, hostb, agp_amd64_driver, agp_devclass, 0, 0); +DRIVER_MODULE(agp_amd64, hostb, agp_amd64_driver, 0, 0); MODULE_DEPEND(agp_amd64, agp, 1, 1, 1); MODULE_DEPEND(agp_amd64, pci, 1, 1, 1); diff --git a/sys/dev/agp/agp_apple.c b/sys/dev/agp/agp_apple.c index 800a5a195fe3..f11cb43cede3 100644 --- a/sys/dev/agp/agp_apple.c +++ b/sys/dev/agp/agp_apple.c @@ -290,8 +290,6 @@ static driver_t agp_apple_driver = { sizeof(struct agp_apple_softc), }; -static devclass_t agp_devclass; - -DRIVER_MODULE(agp_apple, hostb, agp_apple_driver, agp_devclass, 0, 0); +DRIVER_MODULE(agp_apple, hostb, agp_apple_driver, 0, 0); MODULE_DEPEND(agp_apple, agp, 1, 1, 1); MODULE_DEPEND(agp_apple, pci, 1, 1, 1); diff --git a/sys/dev/agp/agp_ati.c b/sys/dev/agp/agp_ati.c index dc56af11f72f..8fc75a604c8c 100644 --- a/sys/dev/agp/agp_ati.c +++ b/sys/dev/agp/agp_ati.c @@ -376,8 +376,6 @@ static driver_t agp_ati_driver = { sizeof(struct agp_ati_softc), }; -static devclass_t agp_devclass; - -DRIVER_MODULE(agp_ati, hostb, agp_ati_driver, agp_devclass, 0, 0); +DRIVER_MODULE(agp_ati, hostb, agp_ati_driver, 0, 0); MODULE_DEPEND(agp_ati, agp, 1, 1, 1); MODULE_DEPEND(agp_ati, pci, 1, 1, 1); diff --git a/sys/dev/agp/agp_i810.c b/sys/dev/agp/agp_i810.c index 50749863a5f5..433d7d3f50c7 100644 --- a/sys/dev/agp/agp_i810.c +++ b/sys/dev/agp/agp_i810.c @@ -1924,9 +1924,7 @@ static driver_t agp_i810_driver = { sizeof(struct agp_i810_softc), }; -static devclass_t agp_devclass; - -DRIVER_MODULE(agp_i810, vgapci, agp_i810_driver, agp_devclass, 0, 0); +DRIVER_MODULE(agp_i810, vgapci, agp_i810_driver, 0, 0); MODULE_DEPEND(agp_i810, agp, 1, 1, 1); MODULE_DEPEND(agp_i810, pci, 1, 1, 1); diff --git a/sys/dev/agp/agp_intel.c b/sys/dev/agp/agp_intel.c index c4a2c6cd0d27..842fad402fb6 100644 --- a/sys/dev/agp/agp_intel.c +++ b/sys/dev/agp/agp_intel.c @@ -431,8 +431,6 @@ static driver_t agp_intel_driver = { sizeof(struct agp_intel_softc), }; -static devclass_t agp_devclass; - -DRIVER_MODULE(agp_intel, hostb, agp_intel_driver, agp_devclass, 0, 0); +DRIVER_MODULE(agp_intel, hostb, agp_intel_driver, 0, 0); MODULE_DEPEND(agp_intel, agp, 1, 1, 1); MODULE_DEPEND(agp_intel, pci, 1, 1, 1); diff --git a/sys/dev/agp/agp_nvidia.c b/sys/dev/agp/agp_nvidia.c index 8ea09238ff34..b0f6de04614b 100644 --- a/sys/dev/agp/agp_nvidia.c +++ b/sys/dev/agp/agp_nvidia.c @@ -446,8 +446,6 @@ static driver_t agp_nvidia_driver = { sizeof(struct agp_nvidia_softc), }; -static devclass_t agp_devclass; - -DRIVER_MODULE(agp_nvidia, hostb, agp_nvidia_driver, agp_devclass, 0, 0); +DRIVER_MODULE(agp_nvidia, hostb, agp_nvidia_driver, 0, 0); MODULE_DEPEND(agp_nvidia, agp, 1, 1, 1); MODULE_DEPEND(agp_nvidia, pci, 1, 1, 1); diff --git a/sys/dev/agp/agp_sis.c b/sys/dev/agp/agp_sis.c index db498ed81463..7e810ef6bab9 100644 --- a/sys/dev/agp/agp_sis.c +++ b/sys/dev/agp/agp_sis.c @@ -285,8 +285,6 @@ static driver_t agp_sis_driver = { sizeof(struct agp_sis_softc), }; -static devclass_t agp_devclass; - -DRIVER_MODULE(agp_sis, hostb, agp_sis_driver, agp_devclass, 0, 0); +DRIVER_MODULE(agp_sis, hostb, agp_sis_driver, 0, 0); MODULE_DEPEND(agp_sis, agp, 1, 1, 1); MODULE_DEPEND(agp_sis, pci, 1, 1, 1); diff --git a/sys/dev/agp/agp_via.c b/sys/dev/agp/agp_via.c index 97bb0262f5de..9308797f056c 100644 --- a/sys/dev/agp/agp_via.c +++ b/sys/dev/agp/agp_via.c @@ -420,8 +420,6 @@ static driver_t agp_via_driver = { sizeof(struct agp_via_softc), }; -static devclass_t agp_devclass; - -DRIVER_MODULE(agp_via, hostb, agp_via_driver, agp_devclass, 0, 0); +DRIVER_MODULE(agp_via, hostb, agp_via_driver, 0, 0); MODULE_DEPEND(agp_via, agp, 1, 1, 1); MODULE_DEPEND(agp_via, pci, 1, 1, 1);