[ofw] [PATCH] remove unused variables in rdma_bw.c

Smith, Stan stan.smith at intel.com
Tue Apr 13 17:39:05 PDT 2010


Done in svn commit 2779

thanks,

stan.

>-----Original Message-----
>From: Hefty, Sean
>Sent: Tuesday, April 13, 2010 3:45 PM
>To: Smith, Stan
>Cc: ofw at lists.openfabrics.org
>Subject: RE: [PATCH] remove unused variables in rdma_bw.c
>
>>signed-off-by:stan smith <stan.smith at intel.com>
>
>fine by me
>
>>
>>--- a/tests/perftest/rdma_bw/rdma_bw.c        Tue Apr 13 15:32:15 2010
>>+++ b/tests/perftest/rdma_bw/rdma_bw.c        Tue Apr 13 14:57:14 2010
>>@@ -101,7 +101,7 @@
>>
>> static struct pingpong_context *pp_client_connect_cma(struct
>pp_data *data)
>> {
>>-     struct addrinfo *res, *t;
>>+     struct addrinfo *res;
>>      struct addrinfo hints;
>>      char service[6];
>>      int n;
>>@@ -267,10 +267,10 @@
>>
>> static struct pingpong_context *pp_server_connect_cma(struct
>pp_data *data)
>> {
>>-     struct addrinfo *res, *t;
>>+     struct addrinfo *res;
>>      struct addrinfo hints;
>>      char service[6];
>>-     SOCKET sockfd = INVALID_SOCKET, connfd;
>>+     SOCKET sockfd = INVALID_SOCKET;
>>      int n;
>>      struct rdma_cm_event *event, *accept_event;
>>      struct sockaddr_in sin;
>



More information about the ofw mailing list