[<prev] [next>] [day] [month] [year] [list]
Message-Id: <200907282356.37402.bzolnier@gmail.com>
Date: Tue, 28 Jul 2009 23:56:37 +0200
From: Bartlomiej Zolnierkiewicz <bzolnier@...il.com>
To: Ingo Molnar <mingo@...hat.com>
Cc: Andi Kleen <andi@...stfloor.org>, linux-kernel@...r.kernel.org
Subject: [PATCH] mce: remove never executed code
From: Bartlomiej Zolnierkiewicz <bzolnier@...il.com>
Subject: [PATCH] mce: remove never executed code
fseverities_coverage is never NULL in err_out code path.
Cc: Andi Kleen <andi@...stfloor.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@...il.com>
---
arch/x86/kernel/cpu/mcheck/mce-severity.c | 2 --
1 file changed, 2 deletions(-)
Index: b/arch/x86/kernel/cpu/mcheck/mce-severity.c
===================================================================
--- a/arch/x86/kernel/cpu/mcheck/mce-severity.c
+++ b/arch/x86/kernel/cpu/mcheck/mce-severity.c
@@ -209,8 +209,6 @@ static int __init severities_debugfs_ini
return 0;
err_out:
- if (fseverities_coverage)
- debugfs_remove(fseverities_coverage);
if (dmce)
debugfs_remove(dmce);
return -ENOMEM;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists