From 9d7510356d8a21fa3755208898ceff59bcbefec9 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Mon, 18 Nov 2024 16:20:34 +0100 Subject: [PATCH] mce-intel: drop a code commented a long time ago with an action There is a commented out code at mce-intel that has been at rasdaemon for a long time. Remove it. Signed-off-by: Mauro Carvalho Chehab --- mce-intel.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/mce-intel.c b/mce-intel.c index 0ff3072..e67254f 100644 --- a/mce-intel.c +++ b/mce-intel.c @@ -250,11 +250,6 @@ static void decode_mca(struct mce_event *e, uint64_t track, int *ismemerr) mce_snprintf(e->mcastatus_msg, "%s CACHE %s %s Error", type, level, get_RRRR_str((mca & CACHE_RRRR_MASK) >> CACHE_RRRR_SHIFT)); -#if 0 - /* FIXME: We shouldn't mix parsing with actions */ - if (track == 2) - run_yellow_trigger(e->cpu, typenum, levelnum, type, level, e->socket); -#endif } else if (test_prefix(10, mca)) { if (mca == 0x400) mce_snprintf(e->mcastatus_msg, -- 2.49.0