lkml.org 
[lkml]   [2008]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[2.6 patch] #if 0 edac_device_find()
This patch #if 0's the unused edac_device_find().

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
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
--- a/drivers/edac/edac_device.c
+++ b/drivers/edac/edac_device.c
@@ -375,6 +375,7 @@ static void del_edac_device_from_global_list(struct edac_device_ctl_info
wait_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


\
 
 \ /
  Last update: 2008-03-31 01:19    [from the cache]
©2003-2011 Jasper Spaans