From 76865afacf4c1c91aea6985de4a515a317507b92 Mon Sep 17 00:00:00 2001 From: Jonathan Lifflander Date: Wed, 25 Jan 2023 13:43:32 -0800 Subject: [PATCH] #1983: location: remove duplicated code --- src/vt/topos/location/location.impl.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/vt/topos/location/location.impl.h b/src/vt/topos/location/location.impl.h index 48d1749a71..476a6aaaa8 100644 --- a/src/vt/topos/location/location.impl.h +++ b/src/vt/topos/location/location.impl.h @@ -660,12 +660,6 @@ void EntityLocationCoord::routeMsgHandler( setupMessageForRouting(id, home_node, msg); routePreparedMsgHandler(msg); - - if (local_registered_.find(id) == local_registered_.end()) { - return routeMsg(id,home_node,msg); - } else { - return routeMsgHandlerLocal(msg); - } } template