]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
xdrgen: Remove tracepoint call site
authorChuck Lever <chuck.lever@oracle.com>
Tue, 22 Oct 2024 17:43:54 +0000 (13:43 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Tue, 19 Nov 2024 01:23:06 +0000 (20:23 -0500)
This tracepoint was a "note to self" and is not operational. It is
added only to client-side code, which so far we haven't needed. It
will cause immediate breakage once we start generating client code,
though, so remove it now.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
tools/net/sunrpc/xdrgen/templates/C/program/decoder/result.j2

index d304eccb5c402537b4fcd599858c95791b8d163e..38c31b3f058940f3bb6bcbf15dd3925c6b6023ef 100644 (file)
@@ -13,10 +13,8 @@ static int {{ program }}_xdr_dec_{{ result }}(struct rpc_rqst *req,
 
        if (!xdrgen_decode_{{ result }}(xdr, result))
                return -EIO;
-       if (result->stat != nfs_ok) {
-               trace_nfs_xdr_status(xdr, (int)result->stat);
+       if (result->stat != nfs_ok)
                return {{ program }}_stat_to_errno(result->stat);
-       }
 {% endif %}
        return 0;
 }