SUNRPC: Inline xdr_commit_encode
authorChuck Lever <chuck.lever@oracle.com>
Mon, 19 Aug 2019 22:37:05 +0000 (18:37 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 20 Aug 2019 14:28:50 +0000 (10:28 -0400)
commit95bd8304b34656d30bc0c908384de007b8fbcb55
tree09ff1a47d333767d04253c5b53ea08fa56b7ac16
parent691b45ddbd182a4ce0bc91953c70c845cf0935f1
SUNRPC: Inline xdr_commit_encode

Micro-optimization: For xdr_commit_encode call sites in
net/sunrpc/xdr.c, eliminate the extra calling sequence.  On my
client, this change saves about a microsecond for every 30 calls
to xdr_reserve_space().

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xdr.c