From patchwork Wed Nov 4 14:29:08 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 57592 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nA4EiDf1030481 for ; Wed, 4 Nov 2009 14:44:13 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756525AbZKDOoH (ORCPT ); Wed, 4 Nov 2009 09:44:07 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756615AbZKDOoG (ORCPT ); Wed, 4 Nov 2009 09:44:06 -0500 Received: from qmta03.westchester.pa.mail.comcast.net ([76.96.62.32]:59449 "EHLO QMTA03.westchester.pa.mail.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756525AbZKDOoF (ORCPT ); Wed, 4 Nov 2009 09:44:05 -0500 Received: from OMTA08.westchester.pa.mail.comcast.net ([76.96.62.12]) by QMTA03.westchester.pa.mail.comcast.net with comcast id 0zcd1d0010Fqzac532kBvQ; Wed, 04 Nov 2009 14:44:11 +0000 Received: from hal.comcast.net ([75.69.247.31]) by OMTA08.westchester.pa.mail.comcast.net with comcast id 12kA1d00C0hNrtn3U2kAGZ; Wed, 04 Nov 2009 14:44:11 +0000 Received: from hal.comcast.net (localhost.localdomain [127.0.0.1]) by hal.comcast.net (8.14.3/8.14.3) with ESMTP id nA4Ei9kj007959; Wed, 4 Nov 2009 09:44:14 -0500 Received: (from hnrose@localhost) by hal.comcast.net (8.14.3/8.14.3/Submit) id nA4ET9BP007581; Wed, 4 Nov 2009 09:29:09 -0500 Date: Wed, 4 Nov 2009 09:29:08 -0500 From: Hal Rosenstock To: sashak@voltaire.com Cc: linux-rdma@vger.kernel.org Subject: [PATCH] opensm/osm_switch.h: Remove dead osm_switch_get_physp_ptr routine Message-ID: <20091104142908.GA7316@comcast.net> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org diff --git a/opensm/include/opensm/osm_switch.h b/opensm/include/opensm/osm_switch.h index bb52e84..205896d 100644 --- a/opensm/include/opensm/osm_switch.h +++ b/opensm/include/opensm/osm_switch.h @@ -427,37 +427,6 @@ static inline uint8_t osm_switch_get_port_by_lid(IN const osm_switch_t * p_sw, * Switch object *********/ -/****f* OpenSM: Switch/osm_switch_get_physp_ptr -* NAME -* osm_switch_get_physp_ptr -* -* DESCRIPTION -* Gets the Physical Port Object at the specified port number. -* -* SYNOPSIS -*/ -osm_physp_t *osm_switch_get_physp_ptr(IN const osm_switch_t * p_sw, - IN uint32_t port_num); -/* -* PARAMETERS -* p_sw -* [in] Pointer to an osm_switch_t object. -* -* port_num -* [in] Port number for which to retrieve the Physical Port Object. -* -* RETURN VALUES -* Returns a pointer to the Physical Port Object object at the specified -* port number. -* A return value of zero means the port number was out of range. -* -* -* NOTES -* -* SEE ALSO -* Switch object -*********/ - /****f* OpenSM: Switch/osm_switch_get_route_by_lid * NAME * osm_switch_get_route_by_lid