diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2024-10-22 13:43:54 -0400 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2024-11-18 20:23:06 -0500 |
commit | 07decac0ac6282672af182521ef0b4b61605c4b9 (patch) | |
tree | 94a53c8ac4295edccb350c4a3ce82a482ec89ddc | |
parent | f8c989a0c89a75d30f899a7cabdc14d72522bb8d (diff) |
xdrgen: Remove tracepoint call site
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>
-rw-r--r-- | tools/net/sunrpc/xdrgen/templates/C/program/decoder/result.j2 | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/net/sunrpc/xdrgen/templates/C/program/decoder/result.j2 b/tools/net/sunrpc/xdrgen/templates/C/program/decoder/result.j2 index d304eccb5c40..38c31b3f0589 100644 --- a/tools/net/sunrpc/xdrgen/templates/C/program/decoder/result.j2 +++ b/tools/net/sunrpc/xdrgen/templates/C/program/decoder/result.j2 @@ -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; } |