From patchwork Tue Sep 7 14:55:42 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yevgeny Kliteynik X-Patchwork-Id: 161061 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o87Etki6031737 for ; Tue, 7 Sep 2010 14:55:46 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757259Ab0IGOzp (ORCPT ); Tue, 7 Sep 2010 10:55:45 -0400 Received: from mail.mellanox.co.il ([194.90.237.43]:60698 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757087Ab0IGOzp (ORCPT ); Tue, 7 Sep 2010 10:55:45 -0400 Received: from Internal Mail-Server by MTLPINE2 (envelope-from kliteyn@mellanox.co.il) with SMTP; 7 Sep 2010 17:55:04 +0300 Received: from [10.4.1.29] (10.4.1.29) by mtlmail01.mtl.com (10.0.8.12) with Microsoft SMTP Server id 8.2.254.0; Tue, 7 Sep 2010 17:55:42 +0300 Message-ID: <4C86526E.60007@mellanox.co.il> Date: Tue, 7 Sep 2010 17:55:42 +0300 From: Yevgeny Kliteynik Reply-To: kliteyn@dev.mellanox.co.il User-Agent: Thunderbird 1.5.0.5 (X11/20060719) MIME-Version: 1.0 To: Sasha Khapyorsky , Linux RDMA Subject: [PATCH] opensm/osm_pkey.c: removing unused function 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.3 (demeter1.kernel.org [140.211.167.41]); Tue, 07 Sep 2010 14:55:46 +0000 (UTC) diff --git a/opensm/opensm/osm_pkey.c b/opensm/opensm/osm_pkey.c index aa7b690..4c5a852 100644 --- a/opensm/opensm/osm_pkey.c +++ b/opensm/opensm/osm_pkey.c @@ -104,16 +104,6 @@ void osm_pkey_tbl_init_new_blocks(IN const osm_pkey_tbl_t * p_pkey_tbl) memset(p_block, 0, sizeof(*p_block)); } -void osm_pkey_tbl_cleanup_pending(IN osm_pkey_tbl_t * p_pkey_tbl) -{ - cl_list_item_t *p_item; - - p_item = cl_qlist_remove_head(&p_pkey_tbl->pending); - while (p_item != cl_qlist_end(&p_pkey_tbl->pending)) { - free((osm_pending_pkey_t *) p_item); - } -} - ib_api_status_t osm_pkey_tbl_set(IN osm_pkey_tbl_t * p_pkey_tbl, IN uint16_t block, IN ib_pkey_table_t * p_tbl) {