diff options
author | Dave Peterson <dsp@llnl.gov> | 2006-03-26 04:38:45 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-26 11:57:07 -0500 |
commit | 749ede57443b2a7ede2db105145f21047efcea6a (patch) | |
tree | 0d0ee972f55e8fbb9d8fba6209a6304fdd3c98f1 /drivers/edac/edac_mc.c | |
parent | d38fde84f7521973fdfa5c3d03d62f014b42cd03 (diff) |
[PATCH] EDAC: cleanup code for clearing initial errors
Fix xxx_probe1() functions so they call xxx_get_error_info() functions
to clear initial errors. This is simpler and cleaner than duplicating
the low-level code for accessing PCI config space.
Signed-off-by: David S. Peterson <dsp@llnl.gov>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/edac/edac_mc.c')
-rw-r--r-- | drivers/edac/edac_mc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/edac/edac_mc.c b/drivers/edac/edac_mc.c index 499ac90ad67e..eac09cc86aac 100644 --- a/drivers/edac/edac_mc.c +++ b/drivers/edac/edac_mc.c | |||
@@ -2095,9 +2095,6 @@ static int __init edac_mc_init(void) | |||
2095 | */ | 2095 | */ |
2096 | clear_pci_parity_errors(); | 2096 | clear_pci_parity_errors(); |
2097 | 2097 | ||
2098 | /* perform check for first time to harvest boot leftovers */ | ||
2099 | do_edac_check(); | ||
2100 | |||
2101 | /* Create the MC sysfs entires */ | 2098 | /* Create the MC sysfs entires */ |
2102 | if (edac_sysfs_memctrl_setup()) { | 2099 | if (edac_sysfs_memctrl_setup()) { |
2103 | edac_printk(KERN_ERR, EDAC_MC, | 2100 | edac_printk(KERN_ERR, EDAC_MC, |