adb: Remove unused devclass arguments to DRIVER_MODULE.

This commit is contained in:
John Baldwin 2022-05-10 10:21:38 -07:00
parent 42f777fc20
commit c46fd01853
3 changed files with 3 additions and 9 deletions

View File

@ -78,9 +78,7 @@ static driver_t abtn_driver = {
sizeof(struct abtn_softc),
};
static devclass_t abtn_devclass;
DRIVER_MODULE(abtn, adb, abtn_driver, abtn_devclass, 0, 0);
DRIVER_MODULE(abtn, adb, abtn_driver, 0, 0);
static int
abtn_probe(device_t dev)

View File

@ -111,9 +111,7 @@ static driver_t adb_kbd_driver = {
sizeof(struct adb_kbd_softc),
};
static devclass_t adb_kbd_devclass;
DRIVER_MODULE(akbd, adb, adb_kbd_driver, adb_kbd_devclass, 0, 0);
DRIVER_MODULE(akbd, adb, adb_kbd_driver, 0, 0);
#ifdef AKBD_EMULATE_ATKBD

View File

@ -116,9 +116,7 @@ static driver_t adb_mouse_driver = {
sizeof(struct adb_mouse_softc),
};
static devclass_t adb_mouse_devclass;
DRIVER_MODULE(ams, adb, adb_mouse_driver, adb_mouse_devclass, 0, 0);
DRIVER_MODULE(ams, adb, adb_mouse_driver, 0, 0);
static struct cdevsw ams_cdevsw = {
.d_version = D_VERSION,