[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>
This commit is contained in:

committed by
Linus Torvalds

parent
d38fde84f7
commit
749ede5744
@@ -2095,9 +2095,6 @@ static int __init edac_mc_init(void)
|
||||
*/
|
||||
clear_pci_parity_errors();
|
||||
|
||||
/* perform check for first time to harvest boot leftovers */
|
||||
do_edac_check();
|
||||
|
||||
/* Create the MC sysfs entires */
|
||||
if (edac_sysfs_memctrl_setup()) {
|
||||
edac_printk(KERN_ERR, EDAC_MC,
|
||||
|
Reference in New Issue
Block a user