[openib-general] [PATCH TRIVIAL] opensm: remove osm_switch_get_lid() prototype

Sasha Khapyorsky sashak at voltaire.com
Wed Sep 20 18:27:47 PDT 2006


Hi Hal,

Some trivial cleanup.

Sasha.


opensm: remove osm_switch_get_lid() prototype

Remove prototype of non-existing osm_switch_get_lid() function.

Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---

 osm/include/opensm/osm_switch.h |   27 ---------------------------
 1 files changed, 0 insertions(+), 27 deletions(-)

diff --git a/osm/include/opensm/osm_switch.h b/osm/include/opensm/osm_switch.h
index 5f33e4a..8c4799f 100644
--- a/osm/include/opensm/osm_switch.h
+++ b/osm/include/opensm/osm_switch.h
@@ -542,33 +542,6 @@ osm_switch_get_port_by_lid(
 *	Switch object
 *********/
 
-/****f* OpenSM: Switch/osm_switch_get_lid
-* NAME
-*	osm_switch_get_lid
-*
-* DESCRIPTION
-*	Gets the switch's LID.
-*
-* SYNOPSIS
-*/
-ib_net16_t
-osm_switch_get_lid(
-	IN const osm_switch_t* const p_sw );
-/*
-* PARAMETERS
-*	p_sw
-*		[in] Pointer to an osm_switch_t object.
-*
-* RETURN VALUES
-*	Returns the switch's LID.  A value of zero means no LID has
-*	been assigned to the switch.
-*
-* NOTES
-*
-* SEE ALSO
-*	Switch object
-*********/
-
 /****f* OpenSM: Switch/osm_switch_get_physp_ptr
 * NAME
 *	osm_switch_get_physp_ptr




More information about the general mailing list