[2.6 patch] #if 0 edac_device_find()

From: Adrian Bunk
Date: Sun Mar 30 2008 - 19:16:23 EST


This patch #if 0's the unused edac_device_find().

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

---

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

--
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/