diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-11-25 19:58:42 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-25 19:58:42 -0500 |
commit | ff0db0490a2eb6db4f03870987c5c8e3dd81e747 (patch) | |
tree | 8ca1dbcb1ed367d3c6ee482a1dfa049ca351e94e /net/sunrpc/xprtrdma | |
parent | e14bec2e2b59a6180f04544a867b7e52cd414455 (diff) |
sunrpc: fix warning in net/sunrpc/xprtrdma/verbs.c
fix this warning:
net/sunrpc/xprtrdma/verbs.c: In function ‘rpcrdma_conn_upcall’:
net/sunrpc/xprtrdma/verbs.c:279: warning: unused variable ‘addr’
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sunrpc/xprtrdma')
-rw-r--r-- | net/sunrpc/xprtrdma/verbs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/sunrpc/xprtrdma/verbs.c b/net/sunrpc/xprtrdma/verbs.c index 78f7f728ef10..3b21e0cc5e69 100644 --- a/net/sunrpc/xprtrdma/verbs.c +++ b/net/sunrpc/xprtrdma/verbs.c | |||
@@ -276,7 +276,9 @@ rpcrdma_conn_upcall(struct rdma_cm_id *id, struct rdma_cm_event *event) | |||
276 | struct rpcrdma_xprt *xprt = id->context; | 276 | struct rpcrdma_xprt *xprt = id->context; |
277 | struct rpcrdma_ia *ia = &xprt->rx_ia; | 277 | struct rpcrdma_ia *ia = &xprt->rx_ia; |
278 | struct rpcrdma_ep *ep = &xprt->rx_ep; | 278 | struct rpcrdma_ep *ep = &xprt->rx_ep; |
279 | #ifdef RPC_DEBUG | ||
279 | struct sockaddr_in *addr = (struct sockaddr_in *) &ep->rep_remote_addr; | 280 | struct sockaddr_in *addr = (struct sockaddr_in *) &ep->rep_remote_addr; |
281 | #endif | ||
280 | struct ib_qp_attr attr; | 282 | struct ib_qp_attr attr; |
281 | struct ib_qp_init_attr iattr; | 283 | struct ib_qp_init_attr iattr; |
282 | int connstate = 0; | 284 | int connstate = 0; |