Commit a5f9145b authored by Eric Sesterhenn's avatar Eric Sesterhenn Committed by Trond Myklebust
Browse files

SUNRPC: Dead code in net/sunrpc/auth_gss/auth_gss.c


the coverity checker spotted that cred is always NULL
when we jump to out_err ( there is just one case, when
we fail to allocate the memory for cred )
This is Coverity ID #79
Signed-off-by: default avatarEric Sesterhenn <>
Signed-off-by: default avatarTrond Myklebust <>
parent 7451c4f0
......@@ -794,7 +794,6 @@ gss_create_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags)
dprintk("RPC: gss_create_cred failed with error %d\n", err);
if (cred) gss_destroy_cred(&cred->gc_base);
return ERR_PTR(err);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment