summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/superio/fintek/f71863fg/superio.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/superio/fintek/f71863fg/superio.c b/src/superio/fintek/f71863fg/superio.c
index 634888b217..a5cd632e49 100644
--- a/src/superio/fintek/f71863fg/superio.c
+++ b/src/superio/fintek/f71863fg/superio.c
@@ -23,15 +23,13 @@
static void f71863fg_init(struct device *dev)
{
- struct resource *res0;
-
if (!dev->enabled)
return;
switch (dev->path.pnp.device) {
/* TODO: Might potentially need code for HWM or FDC etc. */
case F71863FG_KBC:
- res0 = find_resource(dev, PNP_IDX_IO0);
+ find_resource(dev, PNP_IDX_IO0);
pc_keyboard_init(NO_AUX_DEVICE);
break;
}