HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/32990
Change subject: superio/fintek/f71863fg: Remove variable set but not used ......................................................................
superio/fintek/f71863fg: Remove variable set but not used
Change-Id: I993055d237b2bd607822485d34d5508c74a7744c Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/superio/fintek/f71863fg/superio.c 1 file changed, 1 insertion(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/90/32990/1
diff --git a/src/superio/fintek/f71863fg/superio.c b/src/superio/fintek/f71863fg/superio.c index 634888b..a5cd632 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; }