diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-07-28 23:56:37 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-07-29 15:44:19 -0700 |
commit | d0c87d1f61704ed589fc0788bedd753632340e98 (patch) | |
tree | bed5365f0f804f3b74872fad19b61672fce1c1fc /arch/x86/kernel/cpu | |
parent | 419d6162c0c0103fa2f44f6691dff9cac14c650d (diff) | |
download | blackbird-op-linux-d0c87d1f61704ed589fc0788bedd753632340e98.tar.gz blackbird-op-linux-d0c87d1f61704ed589fc0788bedd753632340e98.zip |
x86, mce: remove never executed code
fseverities_coverage is never NULL in err_out code path.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Reviewed-by: Andi Kleen <andi@firstfloor.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/kernel/cpu')
-rw-r--r-- | arch/x86/kernel/cpu/mcheck/mce-severity.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kernel/cpu/mcheck/mce-severity.c b/arch/x86/kernel/cpu/mcheck/mce-severity.c index ff0807f97056..51f7c725dab5 100644 --- 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_init(void) return 0; err_out: - if (fseverities_coverage) - debugfs_remove(fseverities_coverage); if (dmce) debugfs_remove(dmce); return -ENOMEM; |