summaryrefslogtreecommitdiff
path: root/src/superio/nsc/pc87360
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/nsc/pc87360')
-rw-r--r--src/superio/nsc/pc87360/superio.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/superio/nsc/pc87360/superio.c b/src/superio/nsc/pc87360/superio.c
index d4874ff1a9..d85d10a648 100644
--- a/src/superio/nsc/pc87360/superio.c
+++ b/src/superio/nsc/pc87360/superio.c
@@ -34,7 +34,7 @@
static void init(device_t dev)
{
struct superio_nsc_pc87360_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 PC87360_KBCK:
- res0 = find_resource(dev, PNP_IDX_IO0);
- res1 = find_resource(dev, PNP_IDX_IO1);
pc_keyboard_init(&conf->keyboard);
break;
}