ftwd/ichwd/itwd/viawd/wbwd: Remove unused devclass arguments to DRIVER_MODULE.

This commit is contained in:
John Baldwin 2022-05-09 12:22:01 -07:00
parent 8984411b8a
commit 86dc8398c9
5 changed files with 5 additions and 15 deletions

View File

@ -150,8 +150,6 @@ static driver_t ftwd_driver = {
sizeof (struct ftwd_softc)
};
static devclass_t ftwd_devclass;
DRIVER_MODULE(ftwd, superio, ftwd_driver, ftwd_devclass, NULL, NULL);
DRIVER_MODULE(ftwd, superio, ftwd_driver, NULL, NULL);
MODULE_DEPEND(ftwd, superio, 1, 1, 1);
MODULE_VERSION(ftwd, 1);

View File

@ -304,8 +304,6 @@ static struct ichwd_device ichwd_smb_devices[] = {
{ 0, NULL, 0, 0 },
};
static devclass_t ichwd_devclass;
#define ichwd_read_tco_1(sc, off) \
bus_read_1((sc)->tco_res, (off))
#define ichwd_read_tco_2(sc, off) \
@ -988,4 +986,4 @@ static driver_t ichwd_driver = {
sizeof(struct ichwd_softc),
};
DRIVER_MODULE(ichwd, isa, ichwd_driver, ichwd_devclass, NULL, NULL);
DRIVER_MODULE(ichwd, isa, ichwd_driver, NULL, NULL);

View File

@ -229,8 +229,6 @@ static driver_t itwd_driver = {
sizeof (struct itwd_softc)
};
static devclass_t itwd_devclass;
DRIVER_MODULE(itwd, superio, itwd_driver, itwd_devclass, NULL, NULL);
DRIVER_MODULE(itwd, superio, itwd_driver, NULL, NULL);
MODULE_DEPEND(itwd, superio, 1, 1, 1);
MODULE_VERSION(itwd, 1);

View File

@ -58,8 +58,6 @@ static struct viawd_device viawd_devices[] = {
{ 0, NULL },
};
static devclass_t viawd_devclass;
static void
viawd_tmr_state(struct viawd_softc *sc, int enable)
{
@ -252,4 +250,4 @@ static driver_t viawd_driver = {
sizeof(struct viawd_softc),
};
DRIVER_MODULE(viawd, isab, viawd_driver, viawd_devclass, NULL, NULL);
DRIVER_MODULE(viawd, isab, viawd_driver, NULL, NULL);

View File

@ -681,8 +681,6 @@ static driver_t wb_driver = {
sizeof(struct wb_softc)
};
static devclass_t wb_devclass;
DRIVER_MODULE(wb, superio, wb_driver, wb_devclass, NULL, NULL);
DRIVER_MODULE(wb, superio, wb_driver, NULL, NULL);
MODULE_DEPEND(wb, superio, 1, 1, 1);
MODULE_VERSION(wb, 1);