diff options
author | Sverker Eriksson <[email protected]> | 2018-02-23 18:19:36 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2018-03-02 19:16:48 +0100 |
commit | 9a472f2899519234198f677269c5e70362bec351 (patch) | |
tree | ebf0040ffe52e090d2c8e917abff3d58133b570f /lib | |
parent | b9cc6b6aaeb5cd00026824a3d83ca797051fd61d (diff) | |
download | otp-9a472f2899519234198f677269c5e70362bec351.tar.gz otp-9a472f2899519234198f677269c5e70362bec351.tar.bz2 otp-9a472f2899519234198f677269c5e70362bec351.zip |
kernel: Remove redundant code
No need to clear them as they cannot be set.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/kernel/src/dist_util.erl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/kernel/src/dist_util.erl b/lib/kernel/src/dist_util.erl index 5ea0ca991f..88718ee531 100644 --- a/lib/kernel/src/dist_util.erl +++ b/lib/kernel/src/dist_util.erl @@ -184,9 +184,7 @@ make_this_flags(RequestType, AddFlags, RemoveFlags, OtherNode) -> Flgs0 = ?DFLAGS_THIS_DEFAULT, Flgs1 = Flgs0 bor publish_flag(RequestType, OtherNode), Flgs2 = Flgs1 bor AddFlags, - Flgs3 = Flgs2 band (bnot (?DFLAG_HIDDEN_ATOM_CACHE - bor ?DFLAG_ATOM_CACHE)), - Flgs3 band (bnot RemoveFlags). + Flgs2 band (bnot RemoveFlags). handshake_other_started(#hs_data{request_type=ReqType, add_flags=AddFlgs0, |