Skip to content

Commit 07decac

Browse files
committed
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>
1 parent f8c989a commit 07decac

File tree

1 file changed

+1
-3
lines changed
  • tools/net/sunrpc/xdrgen/templates/C/program/decoder

1 file changed

+1
-3
lines changed

tools/net/sunrpc/xdrgen/templates/C/program/decoder/result.j2

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,8 @@ static int {{ program }}_xdr_dec_{{ result }}(struct rpc_rqst *req,
1313

1414
if (!xdrgen_decode_{{ result }}(xdr, result))
1515
return -EIO;
16-
if (result->stat != nfs_ok) {
17-
trace_nfs_xdr_status(xdr, (int)result->stat);
16+
if (result->stat != nfs_ok)
1817
return {{ program }}_stat_to_errno(result->stat);
19-
}
2018
{% endif %}
2119
return 0;
2220
}

0 commit comments

Comments
 (0)