summaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2013-05-21 18:36:27 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-06-06 16:24:40 -0400
commit74fe5f7c2a74d58a39a386bd511e50d1dfc0134c (patch)
tree931c1f2d65a90d1aff6bd7e23ebc05f2a27a6548 /include/linux/sunrpc
parent64bbe3d670ed595df2589d16297305ea9518a84f (diff)
downloadlinux-stable-74fe5f7c2a74d58a39a386bd511e50d1dfc0134c.tar.gz
linux-stable-74fe5f7c2a74d58a39a386bd511e50d1dfc0134c.tar.bz2
linux-stable-74fe5f7c2a74d58a39a386bd511e50d1dfc0134c.zip
SUNRPC: Remove unused functions rpc_task_set/has_priority
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r--include/linux/sunrpc/sched.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/sunrpc/sched.h b/include/linux/sunrpc/sched.h
index 7ec7e6e7e42c..6d870353674a 100644
--- a/include/linux/sunrpc/sched.h
+++ b/include/linux/sunrpc/sched.h
@@ -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)
{