aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorokumin <[email protected]>2016-07-02 22:09:35 +0900
committerokumin <[email protected]>2016-07-02 22:09:35 +0900
commit3f8e6c24e8c2a77b1339d5ed416c288318dcff22 (patch)
tree41668379feea3a1cd4a6e7e669ed5b7cde886cca /lib
parent1697cdea341e7d54e754e5f85e091c8bb68fb6c7 (diff)
downloadotp-3f8e6c24e8c2a77b1339d5ed416c288318dcff22.tar.gz
otp-3f8e6c24e8c2a77b1339d5ed416c288318dcff22.tar.bz2
otp-3f8e6c24e8c2a77b1339d5ed416c288318dcff22.zip
Remove a duplicated pattern matching in erl_epmd.erl
`select_best_version` has the duplicated case.
Diffstat (limited to 'lib')
-rw-r--r--lib/kernel/src/erl_epmd.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/kernel/src/erl_epmd.erl b/lib/kernel/src/erl_epmd.erl
index f8ef4a475d..e1154ef235 100644
--- a/lib/kernel/src/erl_epmd.erl
+++ b/lib/kernel/src/erl_epmd.erl
@@ -403,8 +403,6 @@ select_best_version(L1, _H1, _L2, H2) when L1 > H2 ->
0;
select_best_version(_L1, H1, L2, _H2) when L2 > H1 ->
0;
-select_best_version(_L1, H1, L2, _H2) when L2 > H1 ->
- 0;
select_best_version(_L1, H1, _L2, H2) ->
erlang:min(H1, H2).