git: 5d9f60a3fd47 - main - sbni: Remove unused devclass arguments to DRIVER_MODULE.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Mon, 09 May 2022 21:47:31 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=5d9f60a3fd47ba114651c7700c6ff40a3548cf58

commit 5d9f60a3fd47ba114651c7700c6ff40a3548cf58
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-05-09 21:26:43 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-09 21:26:43 +0000

    sbni: Remove unused devclass arguments to DRIVER_MODULE.
---
 sys/dev/sbni/if_sbni_isa.c | 3 +--
 sys/dev/sbni/if_sbni_pci.c | 4 +---
 2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/sys/dev/sbni/if_sbni_isa.c b/sys/dev/sbni/if_sbni_isa.c
index ea025737416a..70c8374dbfde 100644
--- a/sys/dev/sbni/if_sbni_isa.c
+++ b/sys/dev/sbni/if_sbni_isa.c
@@ -65,7 +65,6 @@ static driver_t sbni_isa_driver = {
 	sizeof(struct sbni_softc)
 };
 
-static devclass_t sbni_isa_devclass;
 static struct isa_pnp_id  sbni_ids[] = {
 	{ 0, NULL }	/* we have no pnp sbni cards atm.  */
 };
@@ -162,6 +161,6 @@ sbni_attach_isa(device_t dev)
 	return (0);
 }
 
-DRIVER_MODULE(sbni, isa, sbni_isa_driver, sbni_isa_devclass, 0, 0);
+DRIVER_MODULE(sbni, isa, sbni_isa_driver, 0, 0);
 MODULE_DEPEND(sbni, isa, 1, 1, 1);
 ISA_PNP_INFO(sbni_ids);
diff --git a/sys/dev/sbni/if_sbni_pci.c b/sys/dev/sbni/if_sbni_pci.c
index 774510ef2231..afa96bb77c10 100644
--- a/sys/dev/sbni/if_sbni_pci.c
+++ b/sys/dev/sbni/if_sbni_pci.c
@@ -67,9 +67,7 @@ static driver_t sbni_pci_driver = {
 	sizeof(struct sbni_softc)
 };
 
-static devclass_t sbni_pci_devclass;
-
-DRIVER_MODULE(sbni, pci, sbni_pci_driver, sbni_pci_devclass, 0, 0);
+DRIVER_MODULE(sbni, pci, sbni_pci_driver, 0, 0);
 MODULE_DEPEND(sbni, pci, 1, 1, 1);
 
 static int