SUNRPC: variable 'svsk' is unused in function bc_send_request
Silence a compile time warning. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
4a20a988f7
commit
1efc28780b
1 changed files with 0 additions and 2 deletions
|
@ -2400,7 +2400,6 @@ static int bc_send_request(struct rpc_task *task)
|
||||||
{
|
{
|
||||||
struct rpc_rqst *req = task->tk_rqstp;
|
struct rpc_rqst *req = task->tk_rqstp;
|
||||||
struct svc_xprt *xprt;
|
struct svc_xprt *xprt;
|
||||||
struct svc_sock *svsk;
|
|
||||||
u32 len;
|
u32 len;
|
||||||
|
|
||||||
dprintk("sending request with xid: %08x\n", ntohl(req->rq_xid));
|
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
|
* Get the server socket associated with this callback xprt
|
||||||
*/
|
*/
|
||||||
xprt = req->rq_xprt->bc_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
|
* Grab the mutex to serialize data as the connection is shared
|
||||||
|
|
Loading…
Add table
Reference in a new issue