From: Trond Myklebust Date: Sun, 24 Oct 2010 22:00:46 +0000 (-0400) Subject: SUNRPC: Cleanup duplicate assignment in rpcauth_refreshcred X-Git-Tag: firefly_0821_release~7613^2~3643^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9a84d38031c258a17bb39beed1e500eadee67407;p=firefly-linux-kernel-4.4.55.git SUNRPC: Cleanup duplicate assignment in rpcauth_refreshcred Signed-off-by: Trond Myklebust --- diff --git a/net/sunrpc/auth.c b/net/sunrpc/auth.c index 36cb66022a27..b457db034cc9 100644 --- a/net/sunrpc/auth.c +++ b/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;