Arthur Heymans has submitted this change. ( https://review.coreboot.org/c/coreboot/+/63061 )
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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/63061 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Angel Pons th3fanbus@gmail.com Reviewed-by: Patrick Rudolph siro@das-labor.org --- M src/superio/smsc/kbc1100/superio.c 1 file changed, 0 insertions(+), 4 deletions(-)
Approvals: build bot (Jenkins): Verified Patrick Rudolph: Looks good to me, approved Angel Pons: Looks good to me, but someone else must approve
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; }
1 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one.