aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/intel
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-03-02 16:47:39 +0100
committerMartin L Roth <gaumless@tutanota.com>2022-06-18 04:50:22 +0000
commit67f0945506376498142faeb5e3d5cc16c59e533b (patch)
treedfeac087c752f34cbd0ecaa69160f260bad68471 /src/southbridge/intel
parent356f1183792b15bdadeee7c063fc0dd0bb1fe244 (diff)
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 <ehaouas@noos.fr> Change-Id: Ifef67fc6415af1260d1a1df54f53fbe67f8860bb Reviewed-on: https://review.coreboot.org/c/coreboot/+/62541 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin L Roth <gaumless@tutanota.com>
Diffstat (limited to 'src/southbridge/intel')
-rw-r--r--src/southbridge/intel/i82801ix/smihandler.c4
1 files changed, 0 insertions, 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
}