diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sunrpc/clnt.h | 14 | ||||
-rw-r--r-- | include/linux/sunrpc/sched.h | 1 |
2 files changed, 0 insertions, 15 deletions
diff --git a/include/linux/sunrpc/clnt.h b/include/linux/sunrpc/clnt.h index 3bec751ee249..e37c06128e51 100644 --- a/include/linux/sunrpc/clnt.h +++ b/include/linux/sunrpc/clnt.h | |||
@@ -140,20 +140,6 @@ size_t rpc_max_payload(struct rpc_clnt *); | |||
140 | void rpc_force_rebind(struct rpc_clnt *); | 140 | void rpc_force_rebind(struct rpc_clnt *); |
141 | int rpc_ping(struct rpc_clnt *clnt, int flags); | 141 | int rpc_ping(struct rpc_clnt *clnt, int flags); |
142 | 142 | ||
143 | static __inline__ | ||
144 | int rpc_call(struct rpc_clnt *clnt, u32 proc, void *argp, void *resp, int flags) | ||
145 | { | ||
146 | struct rpc_message msg = { | ||
147 | .rpc_proc = &clnt->cl_procinfo[proc], | ||
148 | .rpc_argp = argp, | ||
149 | .rpc_resp = resp, | ||
150 | .rpc_cred = NULL | ||
151 | }; | ||
152 | return rpc_call_sync(clnt, &msg, flags); | ||
153 | } | ||
154 | |||
155 | extern void rpciod_wake_up(void); | ||
156 | |||
157 | /* | 143 | /* |
158 | * Helper function for NFSroot support | 144 | * Helper function for NFSroot support |
159 | */ | 145 | */ |
diff --git a/include/linux/sunrpc/sched.h b/include/linux/sunrpc/sched.h index 45a64ae963ee..82a91bb22362 100644 --- a/include/linux/sunrpc/sched.h +++ b/include/linux/sunrpc/sched.h | |||
@@ -276,7 +276,6 @@ void * rpc_malloc(struct rpc_task *, size_t); | |||
276 | void rpc_free(struct rpc_task *); | 276 | void rpc_free(struct rpc_task *); |
277 | int rpciod_up(void); | 277 | int rpciod_up(void); |
278 | void rpciod_down(void); | 278 | void rpciod_down(void); |
279 | void rpciod_wake_up(void); | ||
280 | int __rpc_wait_for_completion_task(struct rpc_task *task, int (*)(void *)); | 279 | int __rpc_wait_for_completion_task(struct rpc_task *task, int (*)(void *)); |
281 | #ifdef RPC_DEBUG | 280 | #ifdef RPC_DEBUG |
282 | void rpc_show_tasks(void); | 281 | void rpc_show_tasks(void); |