git: 6a9d865c2b0d - main - al: Remove unused devclass argument to DRIVER_MODULE.

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

URL: https://cgit.FreeBSD.org/src/commit/?id=6a9d865c2b0dab299e187ea252db1a32e84e1bc8

commit 6a9d865c2b0dab299e187ea252db1a32e84e1bc8
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-05-09 21:26:44 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-09 21:26:44 +0000

    al: Remove unused devclass argument to DRIVER_MODULE.
---
 sys/dev/al_eth/al_eth.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sys/dev/al_eth/al_eth.c b/sys/dev/al_eth/al_eth.c
index 7af41993009d..4ad57bd6fa65 100644
--- a/sys/dev/al_eth/al_eth.c
+++ b/sys/dev/al_eth/al_eth.c
@@ -175,8 +175,6 @@ MALLOC_DEFINE(M_IFAL, "if_al_malloc", "All allocated data for AL ETH driver");
 #define	AL_100BASE_TX_SPEED	100
 #define	AL_1000BASE_T_SPEED	1000
 
-static devclass_t al_devclass;
-
 #define	AL_RX_LOCK_INIT(_sc)	mtx_init(&((_sc)->if_rx_lock), "ALRXL", "ALRXL", MTX_DEF)
 #define	AL_RX_LOCK(_sc)		mtx_lock(&((_sc)->if_rx_lock))
 #define	AL_RX_UNLOCK(_sc)	mtx_unlock(&((_sc)->if_rx_lock))
@@ -256,7 +254,7 @@ static driver_t al_driver = {
 	sizeof(struct al_eth_adapter),
 };
 
-DRIVER_MODULE(al, pci, al_driver, al_devclass, 0, 0);
+DRIVER_MODULE(al, pci, al_driver, 0, 0);
 DRIVER_MODULE(miibus, al, miibus_driver, 0, 0);
 
 static int