diff options
-rw-r--r-- | src/mongo/transport/baton_asio_linux.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mongo/transport/baton_asio_linux.h b/src/mongo/transport/baton_asio_linux.h index 65d894dbea7..af3dba67061 100644 --- a/src/mongo/transport/baton_asio_linux.h +++ b/src/mongo/transport/baton_asio_linux.h @@ -228,8 +228,6 @@ public: } }); - bool eventfdFired = false; - // Note that it's important to check for interrupt without the lock, because markKilled // calls schedule, which will deadlock if we're holding the lock when calling this. if (opCtx) { @@ -333,7 +331,6 @@ public: if (pollIter->revents) { _efd.wait(); - eventfdFired = true; remaining--; } @@ -352,9 +349,6 @@ public: invariant(remaining == 0); } - // If we got here, we should have done something - invariant(toFulfill.size() || _scheduled.size() || eventfdFired); - return true; } |