From: Trond Myklebust Date: Tue, 21 May 2013 22:36:27 +0000 (-0400) Subject: SUNRPC: Remove unused functions rpc_task_set/has_priority X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=74fe5f7c2a74d58a39a386bd511e50d1dfc0134c;p=linux-beck.git SUNRPC: Remove unused functions rpc_task_set/has_priority Signed-off-by: Trond Myklebust --- 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) {