diff options
author | Martin Josefsson <gandalf@wlug.westbo.se> | 2006-11-28 20:35:11 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 00:31:13 -0500 |
commit | 824621eddd2087b0e6f0b2e0da91e8d77e4919bf (patch) | |
tree | 6eb2526aa70ee5c73ce39409ea22fc33a576cf74 /net/ipv4 | |
parent | 3ffd5eeb1a031ad226c80ae6e658970cd08569e2 (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.c | 1 |
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 | ||
324 | struct nf_conntrack_l4proto nf_conntrack_l4proto_icmp = | 324 | struct 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", |