aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-07-26 10:32:22 +0200
committerBjörn-Egil Dahlberg <[email protected]>2016-07-26 10:32:22 +0200
commit19822234eaf6f5e4066d42a304b87d1f6b33c04c (patch)
treed792de7bddeccf3be7a2b69777d92dcd0579c1ca /lib/kernel/src
parent915628f0545a86033a7e07f9937d0e3d92c16907 (diff)
parent3f8e6c24e8c2a77b1339d5ed416c288318dcff22 (diff)
downloadotp-19822234eaf6f5e4066d42a304b87d1f6b33c04c.tar.gz
otp-19822234eaf6f5e4066d42a304b87d1f6b33c04c.tar.bz2
otp-19822234eaf6f5e4066d42a304b87d1f6b33c04c.zip
Merge branch 'okumin/kernel/remove-duplicated-line/PR-1119/OTP-13771' into maint
* okumin/kernel/remove-duplicated-line/PR-1119/OTP-13771: Remove a duplicated pattern matching in erl_epmd.erl
Diffstat (limited to 'lib/kernel/src')
-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 79a026ab67..7bc9e2ede3 100644
--- a/lib/kernel/src/erl_epmd.erl
+++ b/lib/kernel/src/erl_epmd.erl
@@ -407,8 +407,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).