]> git.karo-electronics.de Git - linux-beck.git/commitdiff
NFS: Clean up nfs4_xdr_dec_secinfo()
authorChuck Lever <chuck.lever@oracle.com>
Tue, 25 Oct 2011 16:17:53 +0000 (12:17 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 31 Oct 2011 15:52:47 +0000 (11:52 -0400)
Clean up: Remove superfluous logic at the tail of
nfs4_xdr_dec_secinfo() .

Introduced by commit 5a5ea0d4 "NFS: Add secinfo procedure" (March 24,
2011).

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4xdr.c

index 1dce12f41a4f8d48ceedccf192f64fd7617f6713..e6161b213ed122d04dfe3e5fe7dfdc25e80a2c2e 100644 (file)
@@ -6602,8 +6602,6 @@ static int nfs4_xdr_dec_secinfo(struct rpc_rqst *rqstp,
        if (status)
                goto out;
        status = decode_secinfo(xdr, res);
-       if (status)
-               goto out;
 out:
        return status;
 }