[2.6 patch] #if 0 edac_check_mc_devices()

From: Adrian Bunk
Date: Sun Mar 30 2008 - 19:15:43 EST


This patch #if 0's the no longer used edac_check_mc_devices().

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>

---

drivers/edac/edac_mc.c | 2 ++
drivers/edac/edac_module.h | 1 -
2 files changed, 2 insertions(+), 1 deletion(-)

94824102fa8f6f35cbc3d81ff6c2824ed162b9ab diff --git a/drivers/edac/edac_mc.c b/drivers/edac/edac_mc.c
index 063a1bf..5a2f905 100644
--- a/drivers/edac/edac_mc.c
+++ b/drivers/edac/edac_mc.c
@@ -887,6 +887,7 @@ void edac_mc_handle_fbd_ce(struct mem_ctl_info *mci,
}
EXPORT_SYMBOL(edac_mc_handle_fbd_ce);

+#if 0
/*
* Iterate over all MC instances and check for ECC, et al, errors
*/
@@ -907,3 +908,4 @@ void edac_check_mc_devices(void)

mutex_unlock(&mem_ctls_mutex);
}
+#endif /* 0 */
diff --git a/drivers/edac/edac_module.h b/drivers/edac/edac_module.h
index cbc419c..233d479 100644
--- a/drivers/edac/edac_module.h
+++ b/drivers/edac/edac_module.h
@@ -27,7 +27,6 @@ extern int edac_mc_register_sysfs_main_kobj(struct mem_ctl_info *mci);
extern void edac_mc_unregister_sysfs_main_kobj(struct mem_ctl_info *mci);
extern int edac_create_sysfs_mci_device(struct mem_ctl_info *mci);
extern void edac_remove_sysfs_mci_device(struct mem_ctl_info *mci);
-extern void edac_check_mc_devices(void);
extern int edac_get_log_ue(void);
extern int edac_get_log_ce(void);
extern int edac_get_panic_on_ue(void);

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/