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 | 5f810eca3ff2ec81a4760e0ad1e3c5ed71711918 (patch) | |
| tree | faac69125550da6c3d87170920d2b07e43eb9157 | |
| parent | d66435f6652014c4ae2fd0c7e536c15401c573a2 (diff) | |
| download | rabbitmq-server-git-5f810eca3ff2ec81a4760e0ad1e3c5ed71711918.tar.gz | |
remove redundant heads
| -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 cbe21cdbc0..0a170e7287 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, |
