diff options
Diffstat (limited to 'src/superio/ite/it8673f/superio.c')
-rw-r--r-- | src/superio/ite/it8673f/superio.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/superio/ite/it8673f/superio.c b/src/superio/ite/it8673f/superio.c index 4b986ded7e..e1d2f50a0f 100644 --- a/src/superio/ite/it8673f/superio.c +++ b/src/superio/ite/it8673f/superio.c @@ -28,14 +28,11 @@ static void init(device_t dev) { - struct superio_ite_it8673f_config *conf; + struct superio_ite_it8673f_config *conf = dev->chip_info; struct resource *res0, *res1; - if (!dev->enabled) { + if (!dev->enabled) return; - } - - conf = dev->chip_info; switch (dev->path.pnp.device) { case IT8673F_FDC: /* TODO. */ |