aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorMartin Josefsson <gandalf@wlug.westbo.se>2006-11-28 20:35:11 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 00:31:13 -0500
commit824621eddd2087b0e6f0b2e0da91e8d77e4919bf (patch)
tree6eb2526aa70ee5c73ce39409ea22fc33a576cf74 /net/ipv4
parent3ffd5eeb1a031ad226c80ae6e658970cd08569e2 (diff)
[NETFILTER]: nf_conntrack: remove unused struct list_head from protocols
Remove unused struct list_head from struct nf_conntrack_l3proto and nf_conntrack_l4proto as all protocols are kept in arrays, not linked lists. Signed-off-by: Martin Josefsson <gandalf@wlug.westbo.se> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/netfilter/nf_conntrack_proto_icmp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/nf_conntrack_proto_icmp.c b/net/ipv4/netfilter/nf_conntrack_proto_icmp.c
index 08223a57a44d..95fc22b49694 100644
--- a/net/ipv4/netfilter/nf_conntrack_proto_icmp.c
+++ b/net/ipv4/netfilter/nf_conntrack_proto_icmp.c
@@ -323,7 +323,6 @@ static int icmp_nfattr_to_tuple(struct nfattr *tb[],
323 323
324struct nf_conntrack_l4proto nf_conntrack_l4proto_icmp = 324struct nf_conntrack_l4proto nf_conntrack_l4proto_icmp =
325{ 325{
326 .list = { NULL, NULL },
327 .l3proto = PF_INET, 326 .l3proto = PF_INET,
328 .l4proto = IPPROTO_ICMP, 327 .l4proto = IPPROTO_ICMP,
329 .name = "icmp", 328 .name = "icmp",