diff options
Diffstat (limited to 'include/linux/sunrpc/sched.h')
| -rw-r--r-- | include/linux/sunrpc/sched.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/sunrpc/sched.h b/include/linux/sunrpc/sched.h index 2047fb202a13..8ea077db0099 100644 --- a/include/linux/sunrpc/sched.h +++ b/include/linux/sunrpc/sched.h | |||
| @@ -98,7 +98,6 @@ struct rpc_task { | |||
| 98 | unsigned short tk_pid; /* debugging aid */ | 98 | unsigned short tk_pid; /* debugging aid */ |
| 99 | #endif | 99 | #endif |
| 100 | }; | 100 | }; |
| 101 | #define tk_auth tk_client->cl_auth | ||
| 102 | #define tk_xprt tk_client->cl_xprt | 101 | #define tk_xprt tk_client->cl_xprt |
| 103 | 102 | ||
| 104 | /* support walking a list of tasks on a wait queue */ | 103 | /* support walking a list of tasks on a wait queue */ |
| @@ -110,11 +109,6 @@ struct rpc_task { | |||
| 110 | if (!list_empty(head) && \ | 109 | if (!list_empty(head) && \ |
| 111 | ((task=list_entry((head)->next, struct rpc_task, u.tk_wait.list)),1)) | 110 | ((task=list_entry((head)->next, struct rpc_task, u.tk_wait.list)),1)) |
| 112 | 111 | ||
| 113 | /* .. and walking list of all tasks */ | ||
| 114 | #define alltask_for_each(task, pos, head) \ | ||
| 115 | list_for_each(pos, head) \ | ||
| 116 | if ((task=list_entry(pos, struct rpc_task, tk_task)),1) | ||
| 117 | |||
| 118 | typedef void (*rpc_action)(struct rpc_task *); | 112 | typedef void (*rpc_action)(struct rpc_task *); |
| 119 | 113 | ||
| 120 | struct rpc_call_ops { | 114 | struct rpc_call_ops { |
