Skip to content

Commit

Permalink
facebook-unused-include-check in fbcode/mcrouter/lib/network
Browse files Browse the repository at this point in the history
Summary:
Remove headers flagged by facebook-unused-include-check over fbcode.mcrouter.lib.network.

+ format and autodeps

This is a codemod. It was automatically generated and will be landed once it is approved and tests are passing in sandcastle.
You have been added as a reviewer by Sentinel or Butterfly.

Autodiff project: uim
Autodiff partition: fbcode.mcrouter.lib.network
Autodiff bookmark: ad.uim.fbcode.mcrouter.lib.network

Reviewed By: dtolnay

Differential Revision: D69489977

fbshipit-source-id: 711aff062b7639c5c702863965f14cbfb043ceae
  • Loading branch information
Gownta authored and facebook-github-bot committed Feb 12, 2025
1 parent ff89c66 commit 60e4273
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 16 deletions.
1 change: 0 additions & 1 deletion mcrouter/lib/network/AsyncMcClientImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

#include <memory>

#include <folly/SingletonThreadLocal.h>
#include <folly/container/EvictingCacheMap.h>
#include <folly/io/async/AsyncSSLSocket.h>
#include <folly/io/async/EventBase.h>
Expand Down
2 changes: 0 additions & 2 deletions mcrouter/lib/network/AsyncMcServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@
#include <signal.h>
#include <sys/eventfd.h>
#include <sys/resource.h>
#include <sys/time.h>

#include <chrono>
#include <condition_variable>
#include <cstdio>
#include <future>
#include <memory>
Expand Down
1 change: 0 additions & 1 deletion mcrouter/lib/network/AsyncMcServerWorker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

#include <memory>

#include <folly/io/async/AsyncSSLSocket.h>
#include <folly/io/async/AsyncSocket.h>
#include <folly/io/async/AsyncTransport.h>
#include <folly/io/async/EventBase.h>
Expand Down
1 change: 0 additions & 1 deletion mcrouter/lib/network/AsyncTlsToPlaintextSocket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#include <folly/portability/OpenSSL.h>

#include <folly/io/async/AsyncSSLSocket.h>
#include <folly/io/async/AsyncSocket.h>

namespace facebook {
namespace memcache {
Expand Down
2 changes: 0 additions & 2 deletions mcrouter/lib/network/SecurityOptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

#include "SecurityOptions.h"

#include <exception>

#include <folly/lang/Assume.h>

namespace facebook {
Expand Down
1 change: 0 additions & 1 deletion mcrouter/lib/network/test/AsyncMcClientTestSync.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#include <folly/FileUtil.h>
#include <folly/ScopeGuard.h>
#include <folly/fibers/EventBaseLoopController.h>
#include <folly/fibers/FiberManager.h>
#include <folly/io/async/EventBase.h>
#include <folly/portability/GFlags.h>

Expand Down
1 change: 0 additions & 1 deletion mcrouter/lib/network/test/ListenSocket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include <fcntl.h>
#include <netdb.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <unistd.h>

#include <glog/logging.h>
Expand Down
1 change: 0 additions & 1 deletion mcrouter/lib/network/test/MemcacheConnectionTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

#include <folly/Conv.h>
#include <folly/fibers/EventBaseLoopController.h>
#include <folly/fibers/FiberManager.h>
#include <folly/io/IOBuf.h>
#include <folly/io/async/EventBase.h>
#include <folly/synchronization/Baton.h>
Expand Down
1 change: 0 additions & 1 deletion mcrouter/lib/network/test/MockMcServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include "mcrouter/lib/network/AsyncMcServerWorker.h"
#include "mcrouter/lib/network/CarbonMessageDispatcher.h"
#include "mcrouter/lib/network/McServerRequestContext.h"
#include "mcrouter/lib/network/gen/MemcacheMessages.h"
#include "mcrouter/lib/network/gen/MemcacheServer.h"
#include "mcrouter/lib/network/test/MockMc.h"
#include "mcrouter/lib/network/test/MockMcOnRequest.h"
Expand Down
3 changes: 0 additions & 3 deletions mcrouter/lib/network/test/RequestExpiryTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
* LICENSE file in the root directory of this source tree.
*/

#include <sys/uio.h>

#include <chrono>
#include <cstring>
#include <string>
Expand All @@ -15,7 +13,6 @@
#include <gtest/gtest.h>

#include "mcrouter/McReqUtil.h"
#include "mcrouter/lib/network/CaretProtocol.h"
#include "mcrouter/lib/network/gen/MemcacheMessages.h"
#include "mcrouter/lib/network/test/gen/CarbonTestMessages.h"

Expand Down
1 change: 0 additions & 1 deletion mcrouter/lib/network/test/SessionTestHarness.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

#include <folly/SocketAddress.h>

#include "mcrouter/lib/network/AsyncMcServerWorker.h"
#include "mcrouter/lib/network/AsyncMcServerWorkerOptions.h"
#include "mcrouter/lib/network/McServerSession.h"
#include "mcrouter/lib/network/gen/MemcacheServer.h"
Expand Down
1 change: 0 additions & 1 deletion mcrouter/lib/network/test/TestClientServerUtil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

#include <folly/Conv.h>
#include <folly/fibers/EventBaseLoopController.h>
#include <folly/fibers/FiberManager.h>
#include <folly/io/async/EventBase.h>
#include <folly/synchronization/LifoSem.h>
#include <wangle/ssl/TLSTicketKeySeeds.h>
Expand Down

0 comments on commit 60e4273

Please sign in to comment.