From 9a472f2899519234198f677269c5e70362bec351 Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Fri, 23 Feb 2018 18:19:36 +0100 Subject: kernel: Remove redundant code No need to clear them as they cannot be set. --- lib/kernel/src/dist_util.erl | 4 +--- 1 file changed, 1 insertion(+), 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, -- cgit v1.2.3