Skip to content

Commit b524639

Browse files
committed
Remove dead code
1 parent 5de87aa commit b524639

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

deps/rabbit/src/rabbit_amqqueue_process.erl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1174,14 +1174,12 @@ emit_consumer_deleted(ChPid, ConsumerTag, QName, ActingUser) ->
11741174

11751175
%%----------------------------------------------------------------------------
11761176

1177-
prioritise_call(Msg, _From, _Len, State) ->
1177+
prioritise_call(Msg, _From, _Len, _State) ->
11781178
case Msg of
11791179
info -> 9;
11801180
{info, _Items} -> 9;
11811181
consumers -> 9;
11821182
stat -> 7;
1183-
{basic_consume, _, _, _, _, _, _, _, _, _} -> consumer_bias(State, 0, 2);
1184-
{basic_cancel, _, _, _} -> consumer_bias(State, 0, 2);
11851183
_ -> 0
11861184
end.
11871185

0 commit comments

Comments
 (0)