git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
SUNRPC: Dead code in net/sunrpc/auth_gss/auth_gss.c
[sfrench/cifs-2.6.git]
/
net
/
sunrpc
/
auth_gss
/
auth_gss.c
diff --git
a/net/sunrpc/auth_gss/auth_gss.c
b/net/sunrpc/auth_gss/auth_gss.c
index 900ef31f5a0e601bd7f0a4cfc9fbfea06584c3c4..519ebc17c02845a762102c00b35efb6f01b73b46 100644
(file)
--- a/
net/sunrpc/auth_gss/auth_gss.c
+++ b/
net/sunrpc/auth_gss/auth_gss.c
@@
-794,7
+794,6
@@
gss_create_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags)
out_err:
dprintk("RPC: gss_create_cred failed with error %d\n", err);
- if (cred) gss_destroy_cred(&cred->gc_base);
return ERR_PTR(err);
}