diff mbox

[6/7] Fix a compiler warning about an unused function

Message ID 201108072004.19950.bvanassche@acm.org (mailing list archive)
State New, archived
Headers show

Commit Message

Bart Van Assche Aug. 7, 2011, 6:04 p.m. UTC
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
---
 src/memory.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/src/memory.c b/src/memory.c
index 9f13774..7d97e55 100644
--- a/src/memory.c
+++ b/src/memory.c
@@ -269,6 +269,7 @@  static void __mm_rotate_left(struct ibv_mem_node *node)
 	node->parent = tmp;
 }
 
+#if 0
 static int verify(struct ibv_mem_node *node)
 {
 	int hl, hr;
@@ -294,6 +295,7 @@  static int verify(struct ibv_mem_node *node)
 
 	return hl + 1;
 }
+#endif
 
 static void __mm_add_rebalance(struct ibv_mem_node *node)
 {