aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Droneaud <ydroneaud@opteya.com>2012-07-11 15:10:10 +0000
committerRoland Dreier <roland@purestorage.com>2013-03-22 18:09:05 -0700
commitaab19b7f4ad85cc9b4a0e0e0c47ab50f688a84a5 (patch)
treecb04e87df3651f6ea87d02824752a097bcc3bfe8
parent093757d0dabde7e355f17f1f789733549247daed (diff)
downloadlibibverbs-aab19b7f4ad85cc9b4a0e0e0c47ab50f688a84a5.tar.gz
memory: comment out unused verify() function
Signed-off-by: Yann Droneaud <ydroneaud@opteya.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
-rw-r--r--src/memory.c2
1 files changed, 2 insertions, 0 deletions
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)
{