]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Clean up xdr_get_next_encode_buffer()
authorChuck Lever <chuck.lever@oracle.com>
Tue, 7 Jun 2022 20:48:11 +0000 (16:48 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Wed, 8 Jun 2022 16:39:37 +0000 (12:39 -0400)
commit3cea0b7f06ed075b4ac47b2c51a74b9ebad00a47
tree977e60059406a8857e9553557b78277534eceff7
parent5a035610e4edc3519310fdf94514e25600e62301
SUNRPC: Clean up xdr_get_next_encode_buffer()

The value of @p is not used until the "location of the next item" is
computed. Help human readers by moving its initial assignment to the
paragraph where that value is used and by clarifying the antecedents
in the documenting comment.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: NeilBrown <neilb@suse.com>
Reviewed-by: J. Bruce Fields <bfields@fieldses.org>
net/sunrpc/xdr.c