git: 2ded2b9a2b4f - main - beri: Remove unused devclass arguments to DRIVER_MODULE.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Tue, 10 May 2022 17:36:31 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=2ded2b9a2b4f30a02f798c47280840837b1bf3ff

commit 2ded2b9a2b4f30a02f798c47280840837b1bf3ff
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-05-10 17:21:39 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-10 17:21:39 +0000

    beri: Remove unused devclass arguments to DRIVER_MODULE.
---
 sys/dev/beri/beri_mem.c                    | 4 +---
 sys/dev/beri/beri_ring.c                   | 4 +---
 sys/dev/beri/virtio/network/if_vtbe.c      | 4 +---
 sys/dev/beri/virtio/virtio_block.c         | 5 +----
 sys/dev/beri/virtio/virtio_mmio_platform.c | 4 +---
 5 files changed, 5 insertions(+), 16 deletions(-)

diff --git a/sys/dev/beri/beri_mem.c b/sys/dev/beri/beri_mem.c
index ed218efb4cac..4aae7cb8f458 100644
--- a/sys/dev/beri/beri_mem.c
+++ b/sys/dev/beri/beri_mem.c
@@ -181,6 +181,4 @@ static driver_t beri_mem_driver = {
 	sizeof(struct beri_mem_softc),
 };
 
-static devclass_t beri_mem_devclass;
-
-DRIVER_MODULE(beri_mem, simplebus, beri_mem_driver, beri_mem_devclass, 0, 0);
+DRIVER_MODULE(beri_mem, simplebus, beri_mem_driver, 0, 0);
diff --git a/sys/dev/beri/beri_ring.c b/sys/dev/beri/beri_ring.c
index 0f97f903e49c..73509920eea6 100644
--- a/sys/dev/beri/beri_ring.c
+++ b/sys/dev/beri/beri_ring.c
@@ -524,6 +524,4 @@ static driver_t beri_driver = {
 	sizeof(struct beri_softc),
 };
 
-static devclass_t beri_devclass;
-
-DRIVER_MODULE(beri_ring, simplebus, beri_driver, beri_devclass, 0, 0);
+DRIVER_MODULE(beri_ring, simplebus, beri_driver, 0, 0);
diff --git a/sys/dev/beri/virtio/network/if_vtbe.c b/sys/dev/beri/virtio/network/if_vtbe.c
index 5959b621954b..263c0b334447 100644
--- a/sys/dev/beri/virtio/network/if_vtbe.c
+++ b/sys/dev/beri/virtio/network/if_vtbe.c
@@ -648,7 +648,5 @@ static driver_t vtbe_driver = {
 	sizeof(struct vtbe_softc),
 };
 
-static devclass_t vtbe_devclass;
-
-DRIVER_MODULE(vtbe, simplebus, vtbe_driver, vtbe_devclass, 0, 0);
+DRIVER_MODULE(vtbe, simplebus, vtbe_driver, 0, 0);
 MODULE_DEPEND(vtbe, ether, 1, 1, 1);
diff --git a/sys/dev/beri/virtio/virtio_block.c b/sys/dev/beri/virtio/virtio_block.c
index b9f5e3175cc8..f3de5646f67d 100644
--- a/sys/dev/beri/virtio/virtio_block.c
+++ b/sys/dev/beri/virtio/virtio_block.c
@@ -553,7 +553,4 @@ static driver_t beri_vtblk_driver = {
 	sizeof(struct beri_vtblk_softc),
 };
 
-static devclass_t beri_vtblk_devclass;
-
-DRIVER_MODULE(beri_vtblk, simplebus, beri_vtblk_driver,
-    beri_vtblk_devclass, 0, 0);
+DRIVER_MODULE(beri_vtblk, simplebus, beri_vtblk_driver, 0, 0);
diff --git a/sys/dev/beri/virtio/virtio_mmio_platform.c b/sys/dev/beri/virtio/virtio_mmio_platform.c
index 813674ca7b5d..706f0db25540 100644
--- a/sys/dev/beri/virtio/virtio_mmio_platform.c
+++ b/sys/dev/beri/virtio/virtio_mmio_platform.c
@@ -306,7 +306,5 @@ static driver_t virtio_mmio_platform_driver = {
 	sizeof(struct virtio_mmio_platform_softc),
 };
 
-static devclass_t virtio_mmio_platform_devclass;
-
 DRIVER_MODULE(virtio_mmio_platform, simplebus, virtio_mmio_platform_driver,
-	virtio_mmio_platform_devclass, 0, 0);
+    0, 0);