]> www.infradead.org Git - users/mchehab/rasdaemon.git/commitdiff
mce-intel: drop a code commented a long time ago with an action
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 18 Nov 2024 15:20:34 +0000 (16:20 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 18 Nov 2024 15:20:34 +0000 (16:20 +0100)
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 <mchehab+huawei@kernel.org>
mce-intel.c

index 0ff3072dfd0ea7f55c681bd8ddbcda5698ef44dc..e67254f06a90e50c0485e883d490cd24d7fec93a 100644 (file)
@@ -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,