aboutsummaryrefslogtreecommitdiff
path: root/stand/usb
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2025-01-11 04:01:48 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2025-01-11 04:03:32 +0000
commitee15875c01593b287e55147c482b914e3ab01152 (patch)
treee096fce95690cbe398a9fda6dca656af1d458476 /stand/usb
parent4378bd382ea0f5707099273b1fa2393979a22628 (diff)
Diffstat (limited to 'stand/usb')
-rw-r--r--stand/usb/storage/umass_common.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/stand/usb/storage/umass_common.c b/stand/usb/storage/umass_common.c
index 639d70a7f7e6..b62412b13637 100644
--- a/stand/usb/storage/umass_common.c
+++ b/stand/usb/storage/umass_common.c
@@ -38,8 +38,6 @@ static device_probe_t umass_probe;
static device_attach_t umass_attach;
static device_detach_t umass_detach;
-static devclass_t umass_devclass;
-
static device_method_t umass_methods[] = {
/* Device interface */
DEVMETHOD(device_probe, umass_probe),
@@ -54,7 +52,7 @@ static driver_t umass_driver = {
.methods = umass_methods,
};
-DRIVER_MODULE(umass, uhub, umass_driver, umass_devclass, NULL, 0);
+DRIVER_MODULE(umass, uhub, umass_driver, NULL, 0);
static int
umass_probe(device_t dev)