diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-07-28 17:56:37 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-07-29 18:44:19 -0400 |
commit | d0c87d1f61704ed589fc0788bedd753632340e98 (patch) | |
tree | bed5365f0f804f3b74872fad19b61672fce1c1fc /arch/x86/kernel | |
parent | 419d6162c0c0103fa2f44f6691dff9cac14c650d (diff) |
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')
-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) | |||
209 | return 0; | 209 | return 0; |
210 | 210 | ||
211 | err_out: | 211 | err_out: |
212 | if (fseverities_coverage) | ||
213 | debugfs_remove(fseverities_coverage); | ||
214 | if (dmce) | 212 | if (dmce) |
215 | debugfs_remove(dmce); | 213 | debugfs_remove(dmce); |
216 | return -ENOMEM; | 214 | return -ENOMEM; |