diff options
| author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-05-21 18:36:27 -0400 |
|---|---|---|
| committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-06-06 16:24:40 -0400 |
| commit | 74fe5f7c2a74d58a39a386bd511e50d1dfc0134c (patch) | |
| tree | 931c1f2d65a90d1aff6bd7e23ebc05f2a27a6548 /include/linux/sunrpc | |
| parent | 64bbe3d670ed595df2589d16297305ea9518a84f (diff) | |
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) | |||
| 249 | return __rpc_wait_for_completion_task(task, NULL); | 249 | return __rpc_wait_for_completion_task(task, NULL); |
| 250 | } | 250 | } |
| 251 | 251 | ||
| 252 | static inline void rpc_task_set_priority(struct rpc_task *task, unsigned char prio) | ||
| 253 | { | ||
| 254 | task->tk_priority = prio - RPC_PRIORITY_LOW; | ||
| 255 | } | ||
| 256 | |||
| 257 | static inline int rpc_task_has_priority(struct rpc_task *task, unsigned char prio) | ||
| 258 | { | ||
| 259 | return (task->tk_priority + RPC_PRIORITY_LOW == prio); | ||
| 260 | } | ||
| 261 | |||
| 262 | #if defined(RPC_DEBUG) || defined (RPC_TRACEPOINTS) | 252 | #if defined(RPC_DEBUG) || defined (RPC_TRACEPOINTS) |
| 263 | static inline const char * rpc_qname(const struct rpc_wait_queue *q) | 253 | static inline const char * rpc_qname(const struct rpc_wait_queue *q) |
| 264 | { | 254 | { |
