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
commitd1a918746225d04f0a155f00764c70118ccb8b30 (patch)
treebf74a26f7951884b6f31e1188bd0aa0c86b31a59
parent1d1425530bf54a0d65f0672b6b6b484c987ffd24 (diff)
downloadrabbitmq-server-git-d1a918746225d04f0a155f00764c70118ccb8b30.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 7c2a88cb94..a67c0fe9ad 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,