x86, mce: fix error path in mce_create_device()
authorHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Thu, 18 Jun 2009 05:53:24 +0000 (14:53 +0900)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 18 Jun 2009 14:02:32 +0000 (07:02 -0700)
commitb1f49f9582f9be6de5055cfa97eabf6246f2eaf7
treeef4b56328278c36dc73557db9a8dcf0f5cc25693
parente92fae064ae42b2a4a77646f7655bca4c87bb1eb
x86, mce: fix error path in mce_create_device()

Don't skip removing mce_attrs in route from error2.

Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Huang Ying <ying.huang@intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/cpu/mcheck/mce.c