From d3872fcad91a97a8c0582381d1cc9745ccee5494 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Fri, 24 May 2019 17:54:29 +0200 Subject: superio/fintek/f71863fg: Remove variable set but not used Change-Id: I993055d237b2bd607822485d34d5508c74a7744c Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/32990 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/superio/fintek/f71863fg/superio.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/superio/fintek') 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; } -- cgit v1.2.3