소스 검색

netfilter: remove duplicate include

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
stephen hemminger 9 년 전
부모
커밋
a18fd970ce
2개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 1
      net/ipv4/netfilter/nf_reject_ipv4.c
  2. 0 1
      net/ipv6/netfilter/nf_reject_ipv6.c

+ 0 - 1
net/ipv4/netfilter/nf_reject_ipv4.c

@@ -14,7 +14,6 @@
 #include <net/netfilter/ipv4/nf_reject.h>
 #include <linux/netfilter_ipv4.h>
 #include <linux/netfilter_bridge.h>
-#include <net/netfilter/ipv4/nf_reject.h>
 
 const struct tcphdr *nf_reject_ip_tcphdr_get(struct sk_buff *oldskb,
 					     struct tcphdr *_oth, int hook)

+ 0 - 1
net/ipv6/netfilter/nf_reject_ipv6.c

@@ -14,7 +14,6 @@
 #include <net/netfilter/ipv6/nf_reject.h>
 #include <linux/netfilter_ipv6.h>
 #include <linux/netfilter_bridge.h>
-#include <net/netfilter/ipv6/nf_reject.h>
 
 const struct tcphdr *nf_reject_ip6_tcphdr_get(struct sk_buff *oldskb,
 					      struct tcphdr *otcph,