diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-12-15 17:05:57 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-12-15 17:05:57 -0500 |
commit | 1efc28780bf84f04dcce4f3f7242e4e6a59bffd4 (patch) | |
tree | 9c083a32716d1799da35b8760d6d3dd9ff66b237 /net/sunrpc | |
parent | 4a20a988f732caa343257346ebf145ae8fa437e1 (diff) |
SUNRPC: variable 'svsk' is unused in function bc_send_request
Silence a compile time warning.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc')
-rw-r--r-- | net/sunrpc/xprtsock.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c index 7163ef5ef27e..68b0a81c31d5 100644 --- a/net/sunrpc/xprtsock.c +++ b/net/sunrpc/xprtsock.c | |||
@@ -2400,7 +2400,6 @@ static int bc_send_request(struct rpc_task *task) | |||
2400 | { | 2400 | { |
2401 | struct rpc_rqst *req = task->tk_rqstp; | 2401 | struct rpc_rqst *req = task->tk_rqstp; |
2402 | struct svc_xprt *xprt; | 2402 | struct svc_xprt *xprt; |
2403 | struct svc_sock *svsk; | ||
2404 | u32 len; | 2403 | u32 len; |
2405 | 2404 | ||
2406 | dprintk("sending request with xid: %08x\n", ntohl(req->rq_xid)); | 2405 | dprintk("sending request with xid: %08x\n", ntohl(req->rq_xid)); |
@@ -2408,7 +2407,6 @@ static int bc_send_request(struct rpc_task *task) | |||
2408 | * Get the server socket associated with this callback xprt | 2407 | * Get the server socket associated with this callback xprt |
2409 | */ | 2408 | */ |
2410 | xprt = req->rq_xprt->bc_xprt; | 2409 | xprt = req->rq_xprt->bc_xprt; |
2411 | svsk = container_of(xprt, struct svc_sock, sk_xprt); | ||
2412 | 2410 | ||
2413 | /* | 2411 | /* |
2414 | * Grab the mutex to serialize data as the connection is shared | 2412 | * Grab the mutex to serialize data as the connection is shared |