diff options
author | NeilBrown <neilb@suse.de> | 2006-10-02 05:17:50 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-02 10:57:18 -0400 |
commit | 6fb2b47fa16c81317ec282248e6cff521cca31c2 (patch) | |
tree | 226d823e900aba03fb7ee55cab3a9137fd5d9077 /include/linux/sunrpc | |
parent | 896440d560de3bca6813e83792f431edf5073318 (diff) |
[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>
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r-- | include/linux/sunrpc/svc.h | 2 | ||||
-rw-r--r-- | include/linux/sunrpc/svcsock.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/sunrpc/svc.h b/include/linux/sunrpc/svc.h index bff5e9b486c2..cb341f96eb8d 100644 --- a/include/linux/sunrpc/svc.h +++ b/include/linux/sunrpc/svc.h | |||
@@ -338,7 +338,7 @@ struct svc_serv * svc_create(struct svc_program *, unsigned int, | |||
338 | int svc_create_thread(svc_thread_fn, struct svc_serv *); | 338 | int svc_create_thread(svc_thread_fn, struct svc_serv *); |
339 | void svc_exit_thread(struct svc_rqst *); | 339 | void svc_exit_thread(struct svc_rqst *); |
340 | void svc_destroy(struct svc_serv *); | 340 | void svc_destroy(struct svc_serv *); |
341 | int svc_process(struct svc_serv *, struct svc_rqst *); | 341 | int svc_process(struct svc_rqst *); |
342 | int svc_register(struct svc_serv *, int, unsigned short); | 342 | int svc_register(struct svc_serv *, int, unsigned short); |
343 | void svc_wake_up(struct svc_serv *); | 343 | void svc_wake_up(struct svc_serv *); |
344 | void svc_reserve(struct svc_rqst *rqstp, int space); | 344 | void svc_reserve(struct svc_rqst *rqstp, int space); |
diff --git a/include/linux/sunrpc/svcsock.h b/include/linux/sunrpc/svcsock.h index b8a9652b8755..d5f15e8db929 100644 --- a/include/linux/sunrpc/svcsock.h +++ b/include/linux/sunrpc/svcsock.h | |||
@@ -57,7 +57,7 @@ struct svc_sock { | |||
57 | */ | 57 | */ |
58 | int svc_makesock(struct svc_serv *, int, unsigned short); | 58 | int svc_makesock(struct svc_serv *, int, unsigned short); |
59 | void svc_delete_socket(struct svc_sock *); | 59 | void svc_delete_socket(struct svc_sock *); |
60 | int svc_recv(struct svc_serv *, struct svc_rqst *, long); | 60 | int svc_recv(struct svc_rqst *, long); |
61 | int svc_send(struct svc_rqst *); | 61 | int svc_send(struct svc_rqst *); |
62 | void svc_drop(struct svc_rqst *); | 62 | void svc_drop(struct svc_rqst *); |
63 | void svc_sock_update_bufs(struct svc_serv *serv); | 63 | void svc_sock_update_bufs(struct svc_serv *serv); |