[ofa-general] [PATCH] osm: cosmetics - removing obsolete comment

Yevgeny Kliteynik kliteyn at dev.mellanox.co.il
Sun Nov 18 05:04:00 PST 2007


Removing obsolete comment.
Since port names are converted to guids and added to the usual
guid map of the port group, no need to treat the port names
separately here.

Signed-off-by: Yevgeny Kliteynik <kliteyn at dev.mellanox.co.il>
---
 opensm/opensm/osm_qos_policy.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/opensm/opensm/osm_qos_policy.c b/opensm/opensm/osm_qos_policy.c
index c0a7810..b95e651 100644
--- a/opensm/opensm/osm_qos_policy.c
+++ b/opensm/opensm/osm_qos_policy.c
@@ -557,16 +557,6 @@ __qos_policy_is_port_in_group(osm_subn_t * p_subn,
 	    cl_qmap_end(&p_port_group->port_map))
 		return TRUE;

-	/* check whether this port's name matches any of group's names */
-
-	/*
-	 * TODO: check port names
-	 *
-	 *  char desc[IB_NODE_DESCRIPTION_SIZE + 1];
-	 *  memcpy(desc, p_node->node_desc.description, IB_NODE_DESCRIPTION_SIZE);
-	 *  desc[IB_NODE_DESCRIPTION_SIZE] = '\0';
-	 */
-
 	return FALSE;
 }				/* __qos_policy_is_port_in_group() */

-- 
1.5.1.4




More information about the general mailing list