Skip to content

Commit

Permalink
Revert "Topic subscription scalability fix (ros#1281)"
Browse files Browse the repository at this point in the history
This reverts commit a0f4cc3.
  • Loading branch information
mpflanzer committed Apr 5, 2018
1 parent 0a0d7ef commit f8e3c40
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions clients/roscpp/src/libros/io.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -328,12 +328,6 @@ pollfd_vector_ptr poll_sockets(int epfd, socket_pollfd *fds, nfds_t nfds, int ti
#else
UNUSED(epfd);
pollfd_vector_ptr ofds(new std::vector<socket_pollfd>);
// Clear the `revents` fields
for (nfds_t i = 0; i < nfds; i++)
{
fds[i].revents = 0;
}

// use an existing poll implementation
int result = poll(fds, nfds, timeout);
if ( result < 0 )
Expand Down
1 change: 0 additions & 1 deletion clients/roscpp/src/libros/poll_set.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,6 @@ void PollSet::createNativePollset()
pfd.events = info.events_;
pfd.revents = 0;
}
sockets_changed_ = false;
}

void PollSet::onLocalPipeEvents(int events)
Expand Down

0 comments on commit f8e3c40

Please sign in to comment.