diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-05-21 12:51:32 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-06-06 16:24:39 -0400 |
commit | 0053a8e65c0b949fd230488e5be871755f3f860f (patch) | |
tree | 17c5303daa52645922b9ff1a88e5a9dd54f447e2 /net/sunrpc | |
parent | a76580fbf09e6e19c2040c08969af5137e064eda (diff) |
SUNRPC: Remove unused function rpc_queue_empty
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc')
-rw-r--r-- | net/sunrpc/sched.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/net/sunrpc/sched.c b/net/sunrpc/sched.c index 849ca413522c..dcbd69cb1cbd 100644 --- a/net/sunrpc/sched.c +++ b/net/sunrpc/sched.c | |||
@@ -446,20 +446,6 @@ static void rpc_wake_up_task_queue_locked(struct rpc_wait_queue *queue, struct r | |||
446 | } | 446 | } |
447 | 447 | ||
448 | /* | 448 | /* |
449 | * Tests whether rpc queue is empty | ||
450 | */ | ||
451 | int rpc_queue_empty(struct rpc_wait_queue *queue) | ||
452 | { | ||
453 | int res; | ||
454 | |||
455 | spin_lock_bh(&queue->lock); | ||
456 | res = queue->qlen; | ||
457 | spin_unlock_bh(&queue->lock); | ||
458 | return res == 0; | ||
459 | } | ||
460 | EXPORT_SYMBOL_GPL(rpc_queue_empty); | ||
461 | |||
462 | /* | ||
463 | * Wake up a task on a specific queue | 449 | * Wake up a task on a specific queue |
464 | */ | 450 | */ |
465 | void rpc_wake_up_queued_task(struct rpc_wait_queue *queue, struct rpc_task *task) | 451 | void rpc_wake_up_queued_task(struct rpc_wait_queue *queue, struct rpc_task *task) |