mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 20:48:49 +08:00
SUNRPC: Remove unused functions rpc_task_set/has_priority
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
64bbe3d670
commit
74fe5f7c2a
@ -249,16 +249,6 @@ static inline int rpc_wait_for_completion_task(struct rpc_task *task)
|
||||
return __rpc_wait_for_completion_task(task, NULL);
|
||||
}
|
||||
|
||||
static inline void rpc_task_set_priority(struct rpc_task *task, unsigned char prio)
|
||||
{
|
||||
task->tk_priority = prio - RPC_PRIORITY_LOW;
|
||||
}
|
||||
|
||||
static inline int rpc_task_has_priority(struct rpc_task *task, unsigned char prio)
|
||||
{
|
||||
return (task->tk_priority + RPC_PRIORITY_LOW == prio);
|
||||
}
|
||||
|
||||
#if defined(RPC_DEBUG) || defined (RPC_TRACEPOINTS)
|
||||
static inline const char * rpc_qname(const struct rpc_wait_queue *q)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user