diff options
| author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-05-21 12:58:57 -0400 |
|---|---|---|
| committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-06-06 16:24:39 -0400 |
| commit | 64bbe3d670ed595df2589d16297305ea9518a84f (patch) | |
| tree | 4a8eb5aeb3510502ba978841f11547a592e315c8 /include/linux/sunrpc | |
| parent | 0053a8e65c0b949fd230488e5be871755f3f860f (diff) | |
SUNRPC: Remove the unused helpers task_for_each() and task_for_first()
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/sunrpc')
| -rw-r--r-- | include/linux/sunrpc/sched.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/sunrpc/sched.h b/include/linux/sunrpc/sched.h index 5e255ab893da..7ec7e6e7e42c 100644 --- a/include/linux/sunrpc/sched.h +++ b/include/linux/sunrpc/sched.h | |||
| @@ -88,15 +88,6 @@ struct rpc_task { | |||
| 88 | tk_rebind_retry : 2; | 88 | tk_rebind_retry : 2; |
| 89 | }; | 89 | }; |
| 90 | 90 | ||
| 91 | /* support walking a list of tasks on a wait queue */ | ||
| 92 | #define task_for_each(task, pos, head) \ | ||
| 93 | list_for_each(pos, head) \ | ||
| 94 | if ((task=list_entry(pos, struct rpc_task, u.tk_wait.list)),1) | ||
| 95 | |||
| 96 | #define task_for_first(task, head) \ | ||
| 97 | if (!list_empty(head) && \ | ||
| 98 | ((task=list_entry((head)->next, struct rpc_task, u.tk_wait.list)),1)) | ||
| 99 | |||
| 100 | typedef void (*rpc_action)(struct rpc_task *); | 91 | typedef void (*rpc_action)(struct rpc_task *); |
| 101 | 92 | ||
| 102 | struct rpc_call_ops { | 93 | struct rpc_call_ops { |
