SUNRPC: Cleanup duplicate assignment in rpcauth_refreshcred
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 24 Oct 2010 22:00:46 +0000 (18:00 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 24 Oct 2010 22:00:46 +0000 (18:00 -0400)
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/auth.c

index 36cb66022a279e96869de77c3c9cebbbe9824ff4..b457db034cc9c82a12dce599ddec59f73e890a2e 100644 (file)
@@ -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;