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

Hefty, Sean sean.hefty at intel.com
Tue Apr 13 15:44:46 PDT 2010


>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