mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
[PATCH] knfsd: Drop 'serv' option to svc_recv and svc_process
It isn't needed as it is available in rqstp->rq_server, and dropping it allows some local vars to be dropped. [akpm@osdl.org: build fix] Cc: "J. Bruce Fields" <bfields@fieldses.org> Signed-off-by: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
896440d560
commit
6fb2b47fa1
7 changed files with 13 additions and 15 deletions
|
|
@ -338,7 +338,7 @@ struct svc_serv * svc_create(struct svc_program *, unsigned int,
|
|||
int svc_create_thread(svc_thread_fn, struct svc_serv *);
|
||||
void svc_exit_thread(struct svc_rqst *);
|
||||
void svc_destroy(struct svc_serv *);
|
||||
int svc_process(struct svc_serv *, struct svc_rqst *);
|
||||
int svc_process(struct svc_rqst *);
|
||||
int svc_register(struct svc_serv *, int, unsigned short);
|
||||
void svc_wake_up(struct svc_serv *);
|
||||
void svc_reserve(struct svc_rqst *rqstp, int space);
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ struct svc_sock {
|
|||
*/
|
||||
int svc_makesock(struct svc_serv *, int, unsigned short);
|
||||
void svc_delete_socket(struct svc_sock *);
|
||||
int svc_recv(struct svc_serv *, struct svc_rqst *, long);
|
||||
int svc_recv(struct svc_rqst *, long);
|
||||
int svc_send(struct svc_rqst *);
|
||||
void svc_drop(struct svc_rqst *);
|
||||
void svc_sock_update_bufs(struct svc_serv *serv);
|
||||
|
|
|
|||
Loading…
Reference in a new issue