Skip to content

Commit

Permalink
Remove unnecessary if statement
Browse files Browse the repository at this point in the history
Signed-off-by: Prajakta Gokhale <prajaktg@amazon.com>
  • Loading branch information
Prajakta Gokhale committed Apr 21, 2020
1 parent a0bc80e commit 9e04e9f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions rclcpp/include/rclcpp/node_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,6 @@ Node::create_subscription(
const SubscriptionOptionsWithAllocator<AllocatorT> & options,
typename MessageMemoryStrategyT::SharedPtr msg_mem_strat)
{
// Setup topic statistics collector if enabled.
if (rclcpp::detail::resolve_enable_topic_statistics(options, *node_base_)) {
// TODO(@dabonnie, @prajakta-gokhale): https://github.com/ros2/ros2/issues/901.
}

return rclcpp::create_subscription<MessageT>(
*this,
extend_name_with_sub_namespace(topic_name, this->get_sub_namespace()),
Expand Down

0 comments on commit 9e04e9f

Please sign in to comment.