From 7d4bd3fcda27c84fc1f22d1a65b6a3000fe96b94 Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Wed, 7 Jul 2010 14:01:32 +0100 Subject: remove redundant heads --- src/rabbit_variable_queue.erl | 4 ---- 1 file changed, 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, -- cgit v1.2.1