#if 0 edac_device_find()
PATCH 1/1 #if 0 edac_device_find()
This patch #if 0's the unused edac_device_find().
Signed-off-by Adrian Bunk <[email protected]>
---
drivers/edac/edac_device.c | 2 ++ 1 file changed, 2 insertions(+)
25f2309d2f8850bb0f12bd73f651df1b2ee60aa4 diff --git a/drivers/edac/edac_device.c b/drivers/edac/edac_device.c index b9552bc..f45a8cd 100644
drivers/edac/edac_device.c +2 -0
@@ -375,6 +375,7 @@ static void del_edac_device_from_global_list(struct edac_device_ctl_infowait_for_completion (&edac_device->removal_complete); } +#if 0 /** * edac_device_find * Search for a edac_device_ctl_info structure whose index is 'idx'.
@@ -405,6 +406,7 @@ struct edac_device_ctl_info *edac_device_find(int idx) return NULL; }EXPORT_SYMBOL_GPL (edac_device_find); +#endif /* 0 */ /* * edac_device_workq_function