Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

SUNRPC: Remove unused functions rpc_task_set/has_priority

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

-10
-10
include/linux/sunrpc/sched.h
··· 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 {