svcrdma: Clean up rdma_build_arg_xdr
authorChuck Lever <chuck.lever@oracle.com>
Tue, 20 Mar 2018 21:05:20 +0000 (17:05 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 20 Mar 2018 21:32:13 +0000 (17:32 -0400)
commit6f29d07ca4b999c36d42f9cf8d1dddf9ddca3250
treeb10dfa611bcae1e6b1123aafaf2efc7a6f24f6ab
parent97cc3264508f33783ba21573204d7e0bf5b197e7
svcrdma: Clean up rdma_build_arg_xdr

Clean up: The value of the byte_count parameter is already passed
to rdma_build_arg_xdr as part of the svc_rdma_op_ctxt structure.

Further, without the parameter called "byte_count" there is no need
to have the abbreviated "bc" automatic variable. "bc" can now be
called something more intuitive.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/xprtrdma/svc_rdma_recvfrom.c