All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] SUNRPC: fix synopsis of rpcproc_encode_null()
@ 2010-11-19 16:36 Chuck Lever
  0 siblings, 0 replies; only message in thread
From: Chuck Lever @ 2010-11-19 16:36 UTC (permalink / raw)
  To: trond.myklebust; +Cc: linux-nfs

Clean up.

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

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
---

Hi -

Build-tested only.  This can be squashed into [PATCH 11/12].


 net/sunrpc/clnt.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c
index 85f93c9..78c18fe 100644
--- a/net/sunrpc/clnt.c
+++ b/net/sunrpc/clnt.c
@@ -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)


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-11-19 16:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-19 16:36 [PATCH] SUNRPC: fix synopsis of rpcproc_encode_null() Chuck Lever

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.