Browse Source

SUNRPC: Cleanup duplicate assignment in rpcauth_refreshcred

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Trond Myklebust 14 năm trước cách đây
mục cha
commit
9a84d38031
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      net/sunrpc/auth.c

+ 1 - 1
net/sunrpc/auth.c

@@ -595,7 +595,7 @@ rpcauth_unwrap_resp(struct rpc_task *task, kxdrproc_t decode, void *rqstp,
 int
 rpcauth_refreshcred(struct rpc_task *task)
 {
-	struct rpc_cred	*cred = task->tk_rqstp->rq_cred;
+	struct rpc_cred	*cred;
 	int err;
 
 	cred = task->tk_rqstp->rq_cred;