projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4a20a98
)
SUNRPC: variable 'svsk' is unused in function bc_send_request
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Sat, 15 Dec 2012 22:05:57 +0000
(17:05 -0500)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Sat, 15 Dec 2012 22:05:57 +0000
(17:05 -0500)
Silence a compile time warning.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/xprtsock.c
patch
|
blob
|
history
diff --git
a/net/sunrpc/xprtsock.c
b/net/sunrpc/xprtsock.c
index 7163ef5ef27e6535d29d7929517a5ddaadf208bb..68b0a81c31d5665314e86c84a254b672c8010dd0 100644
(file)
--- 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