浏览代码

xfrm: remove useless forward declarations

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Alexey Dobriyan 16 年之前
父节点
当前提交
fb7e06748c
共有 2 个文件被更改,包括 0 次插入4 次删除
  1. 0 2
      net/ipv4/xfrm4_state.c
  2. 0 2
      net/ipv6/xfrm6_state.c

+ 0 - 2
net/ipv4/xfrm4_state.c

@@ -13,8 +13,6 @@
 #include <linux/ipsec.h>
 #include <linux/ipsec.h>
 #include <linux/netfilter_ipv4.h>
 #include <linux/netfilter_ipv4.h>
 
 
-static struct xfrm_state_afinfo xfrm4_state_afinfo;
-
 static int xfrm4_init_flags(struct xfrm_state *x)
 static int xfrm4_init_flags(struct xfrm_state *x)
 {
 {
 	if (ipv4_config.no_pmtu_disc)
 	if (ipv4_config.no_pmtu_disc)

+ 0 - 2
net/ipv6/xfrm6_state.c

@@ -19,8 +19,6 @@
 #include <net/ipv6.h>
 #include <net/ipv6.h>
 #include <net/addrconf.h>
 #include <net/addrconf.h>
 
 
-static struct xfrm_state_afinfo xfrm6_state_afinfo;
-
 static void
 static void
 __xfrm6_init_tempsel(struct xfrm_state *x, struct flowi *fl,
 __xfrm6_init_tempsel(struct xfrm_state *x, struct flowi *fl,
 		     struct xfrm_tmpl *tmpl,
 		     struct xfrm_tmpl *tmpl,