Skip to content

Commit

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

+ 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: uik
Autodiff partition: fbcode.katran
Autodiff bookmark: ad.uik.fbcode.katran

Reviewed By: avasylev

Differential Revision: D68904171

fbshipit-source-id: b2e4d630245cb583dae6821ee7b823c570244e92
  • Loading branch information
Gownta authored and facebook-github-bot committed Jan 30, 2025
1 parent 7761e82 commit a017a2f
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion katran/lib/BaseBpfAdapter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@

extern "C" {
#include <arpa/inet.h>
#include <asm/unistd.h>
#include <fcntl.h>
#include <linux/if_ether.h>
#include <linux/netlink.h>
Expand Down
1 change: 0 additions & 1 deletion katran/lib/IpHelpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include "IpHelpers.h"

#include <folly/lang/Bits.h>
#include <stdexcept>

namespace katran {

Expand Down
3 changes: 0 additions & 3 deletions katran/lib/KatranEventReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
*/
#include "katran/lib/KatranEventReader.h"

#include <folly/Utility.h>
#include <unistd.h>

#include "katran/lib/BalancerStructs.h"

namespace katran {
Expand Down
1 change: 0 additions & 1 deletion katran/lib/KatranSimulator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include "katran/lib/BpfAdapter.h"

extern "C" {
#include <arpa/inet.h>
#include <linux/ipv6.h>
#include <netinet/if_ether.h>
#include <netinet/ip.h>
Expand Down
1 change: 0 additions & 1 deletion katran/lib/MonitoringServiceCore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#include "katran/lib/MonitoringServiceCore.h"
#include <fcntl.h>
#include <fmt/core.h>
#include <folly/Utility.h>

namespace katran {
namespace monitoring {
Expand Down
1 change: 0 additions & 1 deletion katran/lib/PcapMsgMeta.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/
#include "katran/lib/PcapMsgMeta.h"
#include <fmt/core.h>
#include <folly/Utility.h>

namespace katran {

Expand Down
1 change: 0 additions & 1 deletion katran/lib/PipeWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

#include "katran/lib/PipeWriter.h"
#include <folly/io/IOBuf.h>
#include <unistd.h>
#include <cstring>

namespace katran {
Expand Down
1 change: 0 additions & 1 deletion katran/lib/testing/PcapParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include "katran/lib/testing/PcapParser.h"

#include <chrono>
#include <stdexcept>

#include <folly/FileUtil.h>
#include <glog/logging.h>
Expand Down

0 comments on commit a017a2f

Please sign in to comment.