SUNRPC: Dead code in net/sunrpc/auth_gss/auth_gss.c
authorEric Sesterhenn <snakebyte@gmx.de>
Wed, 19 Apr 2006 17:06:49 +0000 (13:06 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 19 Apr 2006 17:06:49 +0000 (13:06 -0400)
commita5f9145bc9c340bda743ad51e09bdea60fa3ddfa
tree615c72a264de7a25ac51ce0cbd4d7b4c24c9a90b
parent7451c4f0ee53e36fd74168af8df75b28fd04a2aa
SUNRPC: Dead code in net/sunrpc/auth_gss/auth_gss.c

Hi,

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: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/auth_gss/auth_gss.c