diff mbox

infiniband-diags/libibnetdisc: Removed trivial comments

Message ID 829ded920910132114v24498fdfjbdcf17d92363adb8@mail.gmail.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Keshetti Mahesh Oct. 14, 2009, 4:14 a.m. UTC
None
diff mbox

Patch

diff --git a/infiniband-diags/libibnetdisc/src/ibnetdisc.c
b/infiniband-diags/libibnetdisc/src/ibnetdisc.c
index 97e369c..ef8aa6a 100644
--- a/infiniband-diags/libibnetdisc/src/ibnetdisc.c
+++ b/infiniband-diags/libibnetdisc/src/ibnetdisc.c
@@ -94,9 +94,6 @@  static int get_port_info(struct ibmad_port *ibmad_port,
 	return 0;
 }

-/*
- * Returns -1 if error.
- */
 static int query_node_info(struct ibmad_port *ibmad_port,
 			   ibnd_fabric_t * fabric, ibnd_node_t * node,
 			   ib_portid_t * portid)
@@ -113,9 +110,6 @@  static int query_node_info(struct ibmad_port *ibmad_port,
 	return (0);
 }

-/*
- * Returns 0 if non switch node is found, 1 if switch is found, -1 if error.
- */
 static int query_node(struct ibmad_port *ibmad_port, ibnd_fabric_t * fabric,
 		      ibnd_node_t * node, ibnd_port_t * port,
 		      ib_portid_t * portid)