Thread (1 message) 1 message, 1 author, 2011-08-07
DORMANTno replies

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

From: Bart Van Assche <hidden>
Date: 2011-08-07 18:04:19
Subsystem: the rest · Maintainer: Linus Torvalds

Signed-off-by: Bart Van Assche <redacted>
---
 src/memory.c |    2 ++
 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)
 {
-- 
1.7.3.4

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help