From patchwork Sun Aug 7 18:04:19 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 1042632 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p77IWTmG001091 for ; Sun, 7 Aug 2011 18:32:31 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754513Ab1HGSca (ORCPT ); Sun, 7 Aug 2011 14:32:30 -0400 Received: from jester.euphonynet.be ([212.87.96.13]:53930 "EHLO mailpush2.euphonynet.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754493Ab1HGSc2 (ORCPT ); Sun, 7 Aug 2011 14:32:28 -0400 Received: from ripley.euphonynet.be (ripley.euphonynet.be [212.87.96.9]) by mailpush2.euphonynet.be (Postfix) with ESMTP id 98FA54F8130; Sun, 7 Aug 2011 20:04:26 +0200 (CEST) Received: from localhost (goose.euphonynet.be [212.87.96.12]) by ripley.euphonynet.be (Postfix) with ESMTP id 8C68E5FAD289F; Sun, 7 Aug 2011 20:04:26 +0200 (CEST) X-Virus-Scanned: by UltraDeluxeScanner at at euphonynet.be Received: from ripley.euphonynet.be ([212.87.96.9]) by localhost (goose.euphonynet.be [212.87.96.23]) (amavisd-new, port 10024) with ESMTP id 8kh-KEKaPS42; Sun, 7 Aug 2011 20:04:20 +0200 (CEST) Received: from asus.localnet (unknown [85.10.72.182]) by ripley.euphonynet.be (Postfix) with ESMTP id 37B925FAD2543; Sun, 7 Aug 2011 20:04:20 +0200 (CEST) From: Bart Van Assche To: linux-rdma@vger.kernel.org Subject: [PATCH 6/7] Fix a compiler warning about an unused function Date: Sun, 7 Aug 2011 20:04:19 +0200 User-Agent: KMail/1.13.6 (Linux/2.6.38.8-scst; KDE/4.6.0; x86_64; ; ) Cc: Roland Dreier References: <201108072000.16383.bvanassche@acm.org> In-Reply-To: <201108072000.16383.bvanassche@acm.org> MIME-Version: 1.0 Message-Id: <201108072004.19950.bvanassche@acm.org> Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Sun, 07 Aug 2011 18:32:32 +0000 (UTC) Signed-off-by: Bart Van Assche --- 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) {