Commit 64bbe3d6 authored by Trond Myklebust's avatar Trond Myklebust

SUNRPC: Remove the unused helpers task_for_each() and task_for_first()

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 0053a8e6
......@@ -88,15 +88,6 @@ struct rpc_task {
tk_rebind_retry : 2;
};
/* support walking a list of tasks on a wait queue */
#define task_for_each(task, pos, head) \
list_for_each(pos, head) \
if ((task=list_entry(pos, struct rpc_task, u.tk_wait.list)),1)
#define task_for_first(task, head) \
if (!list_empty(head) && \
((task=list_entry((head)->next, struct rpc_task, u.tk_wait.list)),1))
typedef void (*rpc_action)(struct rpc_task *);
struct rpc_call_ops {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment