SUNRPC: fix synopsis of rpcproc_encode_null()
Subsystems (3)
PATCH 1/1 SUNRPC: fix synopsis of rpcproc_encode_null()
Clean up.
Missed one instance of an encoder returning int instead of void.
Signed-off-by Chuck Lever <[email protected]>
---
Hi -
Build-tested only. This can be squashed into [PATCH 11/12].
net/sunrpc/clnt.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
net/sunrpc/clnt.c +1 -2
@@ -1770,9 +1770,8 @@ out_overflow: goto out_garbage; } -static int rpcproc_encode_null (void *rqstp,struct xdr_stream *xdr,void *obj) +static void rpcproc_encode_null (void *rqstp,struct xdr_stream *xdr,void *obj) { -return 0 ; }static int rpcproc_decode_null (void *rqstp,struct xdr_stream *xdr,void *obj)