From b66d74c1380a01d0c25a5ce5a340c3db793c544f Mon Sep 17 00:00:00 2001 From: Gleb Smirnoff Date: Thu, 21 Jan 2016 22:24:20 +0000 Subject: [PATCH] Cleanup TCP files from unnecessary interface related includes. --- sys/netinet/cc/cc.c | 3 +-- sys/netinet/cc/cc_cdg.c | 1 - sys/netinet/cc/cc_chd.c | 1 - sys/netinet/cc/cc_dctcp.c | 2 -- sys/netinet/cc/cc_hd.c | 1 - sys/netinet/cc/cc_vegas.c | 1 - sys/netinet/tcp_input.c | 2 +- sys/netinet/tcp_stacks/fastpath.c | 4 ---- 8 files changed, 2 insertions(+), 13 deletions(-) diff --git a/sys/netinet/cc/cc.c b/sys/netinet/cc/cc.c index 7f766321310c..f1cf328757b7 100644 --- a/sys/netinet/cc/cc.c +++ b/sys/netinet/cc/cc.c @@ -63,8 +63,7 @@ __FBSDID("$FreeBSD$"); #include #include -#include -#include +#include #include #include diff --git a/sys/netinet/cc/cc_cdg.c b/sys/netinet/cc/cc_cdg.c index 6e8727682fd6..b0bf19103f5e 100644 --- a/sys/netinet/cc/cc_cdg.c +++ b/sys/netinet/cc/cc_cdg.c @@ -63,7 +63,6 @@ __FBSDID("$FreeBSD$"); #include #include -#include #include #include diff --git a/sys/netinet/cc/cc_chd.c b/sys/netinet/cc/cc_chd.c index 9f9eb2a74cf6..42062376c33c 100644 --- a/sys/netinet/cc/cc_chd.c +++ b/sys/netinet/cc/cc_chd.c @@ -65,7 +65,6 @@ __FBSDID("$FreeBSD$"); #include #include -#include #include #include diff --git a/sys/netinet/cc/cc_dctcp.c b/sys/netinet/cc/cc_dctcp.c index 93eb4957db65..069c2b0ac99c 100644 --- a/sys/netinet/cc/cc_dctcp.c +++ b/sys/netinet/cc/cc_dctcp.c @@ -50,8 +50,6 @@ __FBSDID("$FreeBSD$"); #include -#include -#include #include #include #include diff --git a/sys/netinet/cc/cc_hd.c b/sys/netinet/cc/cc_hd.c index d6f18f49c75d..d6ba1fd69978 100644 --- a/sys/netinet/cc/cc_hd.c +++ b/sys/netinet/cc/cc_hd.c @@ -66,7 +66,6 @@ __FBSDID("$FreeBSD$"); #include #include -#include #include #include diff --git a/sys/netinet/cc/cc_vegas.c b/sys/netinet/cc/cc_vegas.c index b9fbf3f3a066..8e193ae4ef75 100644 --- a/sys/netinet/cc/cc_vegas.c +++ b/sys/netinet/cc/cc_vegas.c @@ -67,7 +67,6 @@ __FBSDID("$FreeBSD$"); #include #include -#include #include #include diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index 3a979a0c42d7..bb50d3b15de5 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -87,7 +87,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include /* required for icmp_var.h */ #include /* for ICMP_BANDLIM */ @@ -96,6 +95,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include #ifdef TCP_RFC7413 diff --git a/sys/netinet/tcp_stacks/fastpath.c b/sys/netinet/tcp_stacks/fastpath.c index a49f85bbaa06..626a7dcbddd7 100644 --- a/sys/netinet/tcp_stacks/fastpath.c +++ b/sys/netinet/tcp_stacks/fastpath.c @@ -81,8 +81,6 @@ __FBSDID("$FreeBSD$"); #include -#include -#include #include #include @@ -93,7 +91,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include /* required for icmp_var.h */ #include /* for ICMP_BANDLIM */ @@ -103,7 +100,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#include #include #include #include