summaryrefslogtreecommitdiff
path: root/src/superio/nsc/pc87417
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/nsc/pc87417')
-rw-r--r--src/superio/nsc/pc87417/superio.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/superio/nsc/pc87417/superio.c b/src/superio/nsc/pc87417/superio.c
index d311714639..1eee9595bf 100644
--- a/src/superio/nsc/pc87417/superio.c
+++ b/src/superio/nsc/pc87417/superio.c
@@ -35,7 +35,7 @@
static void init(device_t dev)
{
struct superio_nsc_pc87417_config *conf;
- struct resource *res0, *res1;
+ struct resource *res0;
/* Wishlist handle well known programming interfaces more
* generically.
*/
@@ -53,8 +53,6 @@ static void init(device_t dev)
init_uart8250(res0->base, &conf->com2);
break;
case PC87417_KBCK:
- res0 = find_resource(dev, PNP_IDX_IO0);
- res1 = find_resource(dev, PNP_IDX_IO1);
pc_keyboard_init(&conf->keyboard);
break;
}