summaryrefslogtreecommitdiff
path: root/src/superio/ite/it8671f/superio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/ite/it8671f/superio.c')
-rw-r--r--src/superio/ite/it8671f/superio.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/superio/ite/it8671f/superio.c b/src/superio/ite/it8671f/superio.c
index 9fd60425e1..9c5296df6c 100644
--- a/src/superio/ite/it8671f/superio.c
+++ b/src/superio/ite/it8671f/superio.c
@@ -28,14 +28,11 @@
static void init(device_t dev)
{
- struct superio_ite_it8671f_config *conf;
+ struct superio_ite_it8671f_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 IT8671F_FDC: /* TODO. */