diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2010-07-07 14:01:32 +0100 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2010-07-07 14:01:32 +0100 |
commit | 7d4bd3fcda27c84fc1f22d1a65b6a3000fe96b94 (patch) | |
tree | faac69125550da6c3d87170920d2b07e43eb9157 | |
parent | e851dec199696c95b3e16be42e62bc5c5fe79cdb (diff) | |
download | rabbitmq-server-bug22896.tar.gz |
remove redundant headsbug22896
-rw-r--r-- | src/rabbit_variable_queue.erl | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/rabbit_variable_queue.erl b/src/rabbit_variable_queue.erl index cbe21cdb..0a170e72 100644 --- a/src/rabbit_variable_queue.erl +++ b/src/rabbit_variable_queue.erl @@ -1258,8 +1258,6 @@ push_alphas_to_betas(Quota, State) -> {_Quota2, State2} = maybe_push_q4_to_betas(Quota1, State1), State2. -maybe_push_q1_to_betas(0, State) -> - {0, State}; maybe_push_q1_to_betas(Quota, State = #vqstate { q1 = Q1 }) -> maybe_push_alphas_to_betas( fun queue:out/1, @@ -1273,8 +1271,6 @@ maybe_push_q1_to_betas(Quota, State = #vqstate { q1 = Q1 }) -> q2 = bpqueue:in(IndexOnDisk, MsgStatus, Q2) } end, Quota, Q1, State). -maybe_push_q4_to_betas(0, State) -> - {0, State}; maybe_push_q4_to_betas(Quota, State = #vqstate { q4 = Q4 }) -> maybe_push_alphas_to_betas( fun queue:out_r/1, |