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

Smith, Stan stan.smith at intel.com
Tue Apr 13 15:43:31 PDT 2010


signed-off-by:stan smith <stan.smith at intel.com>

--- 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