From 67f0945506376498142faeb5e3d5cc16c59e533b Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Wed, 2 Mar 2022 16:47:39 +0100 Subject: [PATCH] sb/intel/i82801ix/smihandler.c: Remove dead increment The value stored to 'data' is never read. So remove dead increment and commented out code. Signed-off-by: Elyes Haouas Change-Id: Ifef67fc6415af1260d1a1df54f53fbe67f8860bb Reviewed-on: https://review.coreboot.org/c/coreboot/+/62541 Tested-by: build bot (Jenkins) Reviewed-by: Martin L Roth --- src/southbridge/intel/i82801ix/smihandler.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/southbridge/intel/i82801ix/smihandler.c b/src/southbridge/intel/i82801ix/smihandler.c index e02b3965a0..3aca8749ef 100644 --- a/src/southbridge/intel/i82801ix/smihandler.c +++ b/src/southbridge/intel/i82801ix/smihandler.c @@ -62,10 +62,6 @@ void southbridge_smi_monitor(void) if (!(trap_cycle & (1 << 24))) { // It's a write printk(BIOS_DEBUG, "SMI1 command\n"); data = RCBA32(0x1e18); - data &= mask; - // if (smi1) - // southbridge_smi_command(data); - // return; } // Fall through to debug }