Attention is currently required from: Arthur Heymans, Felix Held. Hello Arthur Heymans,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/63061
to review the following change.
Change subject: superio/kbc1100: Fix set but unused variables ......................................................................
superio/kbc1100: Fix set but unused variables
This fixes building with clang.
Change-Id: I865038ffab9cd7be8aa6a42e629f108b55c08f59 Signed-off-by: Arthur Heymans arthur@aheymans.xyz --- M src/superio/smsc/kbc1100/superio.c 1 file changed, 0 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/61/63061/1
diff --git a/src/superio/smsc/kbc1100/superio.c b/src/superio/smsc/kbc1100/superio.c index 91457a1..862a77b 100644 --- a/src/superio/smsc/kbc1100/superio.c +++ b/src/superio/smsc/kbc1100/superio.c @@ -39,15 +39,11 @@
static void kbc1100_init(struct device *dev) { - struct resource *res0, *res1; - if (!dev->enabled) return;
switch (dev->path.pnp.device) { case KBC1100_KBC: - res0 = find_resource(dev, PNP_IDX_IO0); - res1 = find_resource(dev, PNP_IDX_IO1); pc_keyboard_init(NO_AUX_DEVICE); break; }