[Pvfs2-cvs] commit by pw in pvfs2/src/io/bmi/bmi_tcp: bmi-tcp.c

CVS commit program cvs at parl.clemson.edu
Wed Jul 18 17:04:01 EDT 2007


Update of /projects/cvsroot/pvfs2/src/io/bmi/bmi_tcp
In directory parlweb1:/tmp/cvs-serv12004/src/io/bmi/bmi_tcp

Modified Files:
	bmi-tcp.c 
Log Message:
Remove unused method_addr field.


Index: bmi-tcp.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/io/bmi/bmi_tcp/bmi-tcp.c,v
diff -u -p -p -u -r1.114 -r1.115
--- bmi-tcp.c	26 Mar 2007 18:26:35 -0000	1.114
+++ bmi-tcp.c	18 Jul 2007 21:04:00 -0000	1.115
@@ -548,7 +548,6 @@ method_addr_p BMI_tcp_method_addr_lookup
     method_addr_p new_addr = NULL;
     struct tcp_addr *tcp_addr_data = NULL;
     int ret = -1;
-    char local_tag[] = "NULL";
 
     tcp_string = string_key("tcp", id_string);
     if (!tcp_string)
@@ -595,11 +594,6 @@ method_addr_p BMI_tcp_method_addr_lookup
     hostname[delim - tcp_string] = '\0';
 
     tcp_addr_data->hostname = hostname;
-
-    if (strcmp(hostname, local_tag) == 0)
-    {
-	new_addr->local_addr = 1;
-    }
 
     free(tcp_string);
     return (new_addr);



More information about the Pvfs2-cvs mailing list