diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2010-12-14 14:59:18 +0000 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-12-16 12:37:25 -0500 |
commit | 9f06c719f474be7003763284a990bed6377bb0d4 (patch) | |
tree | 409ebc3505f943bfdb933ab0acd76ffb5347b372 /net/wimax/op-rfkill.c | |
parent | 1ac7c23e4af5e83525137661595000099f1ce94f (diff) | |
download | blackbird-op-linux-9f06c719f474be7003763284a990bed6377bb0d4.tar.gz blackbird-op-linux-9f06c719f474be7003763284a990bed6377bb0d4.zip |
SUNRPC: New xdr_streams XDR encoder API
Now that all client-side XDR encoder routines use xdr_streams, there
should be no need to support the legacy calling sequence [rpc_rqst *,
__be32 *, RPC arg *] anywhere. We can construct an xdr_stream in the
generic RPC code, instead of in each encoder function.
Also, all the client-side encoder functions return 0 now, making a
return value superfluous. Take this opportunity to convert them to
return void instead.
This is a refactoring change. It should not cause different behavior.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Tested-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/wimax/op-rfkill.c')
0 files changed, 0 insertions, 0 deletions