diff options
author | okumin <[email protected]> | 2016-07-02 22:09:35 +0900 |
---|---|---|
committer | okumin <[email protected]> | 2016-07-02 22:09:35 +0900 |
commit | 3f8e6c24e8c2a77b1339d5ed416c288318dcff22 (patch) | |
tree | 41668379feea3a1cd4a6e7e669ed5b7cde886cca /lib/kernel/src | |
parent | 1697cdea341e7d54e754e5f85e091c8bb68fb6c7 (diff) | |
download | otp-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/kernel/src')
-rw-r--r-- | lib/kernel/src/erl_epmd.erl | 2 |
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). |