From: Trond Myklebust Date: Sat, 15 Dec 2012 22:05:57 +0000 (-0500) Subject: SUNRPC: variable 'svsk' is unused in function bc_send_request X-Git-Tag: upstream/snapshot3+hdmi~6029^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1efc28780bf84f04dcce4f3f7242e4e6a59bffd4;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git SUNRPC: variable 'svsk' is unused in function bc_send_request Silence a compile time warning. Signed-off-by: Trond Myklebust --- diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c index 7163ef5..68b0a81 100644 --- a/net/sunrpc/xprtsock.c +++ b/net/sunrpc/xprtsock.c @@ -2400,7 +2400,6 @@ static int bc_send_request(struct rpc_task *task) { struct rpc_rqst *req = task->tk_rqstp; struct svc_xprt *xprt; - struct svc_sock *svsk; u32 len; dprintk("sending request with xid: %08x\n", ntohl(req->rq_xid)); @@ -2408,7 +2407,6 @@ static int bc_send_request(struct rpc_task *task) * Get the server socket associated with this callback xprt */ xprt = req->rq_xprt->bc_xprt; - svsk = container_of(xprt, struct svc_sock, sk_xprt); /* * Grab the mutex to serialize data as the connection is shared