Skip to contentSkip to conversation

SUNRPC: fix synopsis of rpcproc_encode_null()

PATCH New Chuck Lever 1 participant 1 message Nov 19, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 SUNRPC: fix synopsis of rpcproc_encode_null()

Clean up.

Missed one instance of an encoder returning int instead of void.

---

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
index 85f93c9..78c18fe 100644
@@ -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)