From 826ec33aeffb3437a8b206e552a47e5f237e87d4 Mon Sep 17 00:00:00 2001 From: Mary Ruthven Date: Tue, 12 Oct 2021 19:00:11 -0500 Subject: i2cp: remove FE_TPM_I2C_ERROR log FE_TPM_I2C_ERROR events don't mean much and it's not a big deal if cr50 needs to recover the I2C bus. Remove FE_TPM_I2C_ERROR logging from chip/i2cp. BUG=b:146067724 TEST=make buildall -j Change-Id: I2bdce35fc794559c8236b1c14d87fa4372ffafa4 Signed-off-by: Mary Ruthven Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3219755 Reviewed-by: Vadim Bendebury (cherry picked from commit 39e75e0a99061689620de3df9adc81bc1d810f66) Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3229795 Reviewed-by: Andrey Pronin --- chip/g/i2cp.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/chip/g/i2cp.c b/chip/g/i2cp.c index d006707f11..b07f13f419 100644 --- a/chip/g/i2cp.c +++ b/chip/g/i2cp.c @@ -255,10 +255,6 @@ static void poll_read_state(void) */ i2cp_register_write_complete_handler( write_complete_handler_); - -#ifdef CONFIG_FLASH_LOG - flash_log_add_event(FE_TPM_I2C_ERROR, 0, NULL); -#endif return; } } -- cgit v1.2.1