Index: libtorrent/src/torrent/poll_kqueue.cc
===================================================================
--- libtorrent/src/torrent/poll_kqueue.cc	(revision 1090)
+++ libtorrent/src/torrent/poll_kqueue.cc	(working copy)
@@ -88,9 +88,6 @@
 void
 PollKQueue::modify(Event* event, unsigned short op, short mask) {
   // Flush the changed filters to the kernel if the buffer is full.
-  if (m_changedEvents == m_table.size())
-    flush_events();
-
   if (m_changedEvents == m_maxEvents) {
     if (kevent(m_fd, m_changes, m_changedEvents, NULL, 0, NULL) == -1)
       throw internal_error("PollKQueue::modify() error: " + std::string(rak::error_number::current().c_str()));

