[Pvfs2-cvs] commit by pw in pvfs2/src/io/bmi/bmi_tcp: bmi-tcp.c
CVS commit program
cvs at parl.clemson.edu
Fri Nov 30 14:33:17 EST 2007
Update of /projects/cvsroot/pvfs2/src/io/bmi/bmi_tcp
In directory parlweb1:/tmp/cvs-serv19788/src/io/bmi/bmi_tcp
Modified Files:
bmi-tcp.c
Log Message:
Remove unused ops pointer from method addr structure.
Index: bmi-tcp.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/io/bmi/bmi_tcp/bmi-tcp.c,v
diff -u -p -p -u -r1.124 -r1.125
--- bmi-tcp.c 8 Nov 2007 21:48:21 -0000 1.124
+++ bmi-tcp.c 30 Nov 2007 19:33:17 -0000 1.125
@@ -287,7 +287,7 @@ static int tcp_allow_trusted(struct sock
static void bmi_set_sock_buffers(int socket);
/* exported method interface */
-struct bmi_method_ops bmi_tcp_ops = {
+const struct bmi_method_ops bmi_tcp_ops = {
.method_name = BMI_tcp_method_name,
.initialize = BMI_tcp_initialize,
.finalize = BMI_tcp_finalize,
@@ -1938,8 +1938,6 @@ bmi_method_addr_p alloc_tcp_method_addr(
{
return (NULL);
}
-
- my_method_addr->ops = &bmi_tcp_ops;
/* note that we trust the alloc_method_addr() function to have zeroed
* out the structures for us already
More information about the Pvfs2-cvs
mailing list