diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2019-05-24 17:54:29 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2019-05-25 18:20:15 +0000 |
commit | d3872fcad91a97a8c0582381d1cc9745ccee5494 (patch) | |
tree | 41174fc574ffceb893d054221faa8cdd19dcde1a | |
parent | 99e578e3c1697028957f25efc7c14d1cb4d405dc (diff) | |
download | coreboot-d3872fcad91a97a8c0582381d1cc9745ccee5494.tar.xz |
superio/fintek/f71863fg: Remove variable set but not used
Change-Id: I993055d237b2bd607822485d34d5508c74a7744c
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32990
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
-rw-r--r-- | src/superio/fintek/f71863fg/superio.c | 4 |
1 files changed, 1 insertions, 3 deletions
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; } |