get rid of redundant calls to RequestContext::saveContext()
[folly.git] / folly / io / async / NotificationQueue.h
index e1b1cb36fe29b3ea4dd4149d28fd1d517b13d0bf..fa66baea7c9a80d1ddaa642496fe932143ea32ea 100644 (file)
@@ -266,8 +266,6 @@ class NotificationQueue {
         pid_(pid_t(getpid())),
         queue_() {
 
-    RequestContext::saveContext();
-
 #ifdef FOLLY_HAVE_EVENTFD
     if (fdType == FdType::EVENTFD) {
       eventfd_ = eventfd(0, EFD_CLOEXEC | EFD_NONBLOCK);