aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/al_eth
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2022-05-09 21:26:44 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2022-05-09 21:26:44 +0000
commit6a9d865c2b0dab299e187ea252db1a32e84e1bc8 (patch)
tree867ee0fb079fc199b312c74ae7c70d6897d6d475 /sys/dev/al_eth
parentce4ca2edc6698eef8bc2744a35054edeeb109eac (diff)
Diffstat (limited to 'sys/dev/al_eth')
-rw-r--r--sys/dev/al_eth/al_eth.c4
1 files changed, 1 insertions, 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