Skip to content

Commit 8c7df87

Browse files
committed
tc: remove unused includes and sort alphabetical
Remove the unused includes. Sort in alphabetical order where possible. Signed-off-by: Chester A. Unal <[email protected]>
1 parent a91105e commit 8c7df87

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

tcp_in_udp_tc.c

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,14 @@
11
/* SPDX-License-Identifier: GPL-2.0 */
22
#include <linux/bpf.h>
3-
#include <linux/in.h>
4-
5-
#include <stddef.h>
63
#include <linux/if_ether.h>
7-
#include <linux/if_packet.h>
4+
#include <linux/in.h>
85
#include <linux/ip.h>
96
#include <linux/ipv6.h>
7+
#include <linux/pkt_cls.h>
108
#include <linux/tcp.h>
119
#include <linux/udp.h>
12-
#include <linux/pkt_cls.h>
13-
#include <bpf/bpf_helpers.h>
1410
#include <bpf/bpf_endian.h>
15-
11+
#include <bpf/bpf_helpers.h>
1612

1713
struct tcp_in_udp_hdr {
1814
struct udphdr udphdr;

0 commit comments

Comments
 (0)