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