diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-05-22 02:36:27 +0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-06-07 00:24:40 +0400 |
commit | 74fe5f7c2a74d58a39a386bd511e50d1dfc0134c (patch) | |
tree | 931c1f2d65a90d1aff6bd7e23ebc05f2a27a6548 /include/linux/sunrpc | |
parent | 64bbe3d670ed595df2589d16297305ea9518a84f (diff) | |
download | linux-74fe5f7c2a74d58a39a386bd511e50d1dfc0134c.tar.xz |
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.h | 10 |
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) { |