aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/mnesia/src/mnesia_tm.erl4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/mnesia/src/mnesia_tm.erl b/lib/mnesia/src/mnesia_tm.erl
index 01abc14a81..f62f7cb7c8 100644
--- a/lib/mnesia/src/mnesia_tm.erl
+++ b/lib/mnesia/src/mnesia_tm.erl
@@ -1122,9 +1122,7 @@ t_commit(Type) ->
end.
majority_attr(#prep{majority = M}) ->
- M;
-majority_attr(_) ->
- [].
+ M.
%% This function arranges for all objects we shall write in S to be