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