summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancesco Mazzoli <francesco@rabbitmq.com>2012-08-22 11:57:05 +0100
committerFrancesco Mazzoli <francesco@rabbitmq.com>2012-08-22 11:57:05 +0100
commite12d3861941f1c188f4d3838eae26218c83a8c1b (patch)
treebf74a26f7951884b6f31e1188bd0aa0c86b31a59
parentc9ead9eb132006c67366064d65c789c76a3b355a (diff)
downloadrabbitmq-server-e12d3861941f1c188f4d3838eae26218c83a8c1b.tar.gz
remove commented code - we do not use `disc_only' anywhere
-rw-r--r--src/rabbit_mnesia.erl7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/rabbit_mnesia.erl b/src/rabbit_mnesia.erl
index 7c2a88cb..a67c0fe9 100644
--- a/src/rabbit_mnesia.erl
+++ b/src/rabbit_mnesia.erl
@@ -1002,13 +1002,6 @@ create_local_table_copies(Type) ->
HasDiscOnlyCopies -> disc_only_copies;
true -> ram_copies
end;
-%%% unused code - commented out to keep dialyzer happy
-%%% Type =:= disc_only ->
-%%% if
-%%% HasDiscCopies or HasDiscOnlyCopies ->
-%%% disc_only_copies;
-%%% true -> ram_copies
-%%% end;
Type =:= ram ->
ram_copies
end,