Commit 74fe5f7c2a74d58a39a386bd511e50d1dfc0134c

Authored by Trond Myklebust
1 parent 64bbe3d670

SUNRPC: Remove unused functions rpc_task_set/has_priority

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

Showing 1 changed file with 0 additions and 10 deletions Side-by-side Diff

include/linux/sunrpc/sched.h
... ... @@ -249,16 +249,6 @@
249 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 252 #if defined(RPC_DEBUG) || defined (RPC_TRACEPOINTS)
263 253 static inline const char * rpc_qname(const struct rpc_wait_queue *q)
264 254 {