diff options
| author | Patrick McHardy <kaber@trash.net> | 2006-08-22 00:34:04 -0700 |
|---|---|---|
| committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 14:55:32 -0700 |
| commit | 4470bbc749e5551cce914529309456f631e25120 (patch) | |
| tree | 972978df336c49235889dc745124fdfd1b990349 /net/netfilter/xt_conntrack.c | |
| parent | [NETFILTER]: x_tables: add helpers for mass match/target registration (diff) | |
| download | linux-4470bbc749e5551cce914529309456f631e25120.tar.gz linux-4470bbc749e5551cce914529309456f631e25120.zip | |
[NETFILTER]: x_tables: make use of mass registation helpers
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter/xt_conntrack.c')
| -rw-r--r-- | net/netfilter/xt_conntrack.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/net/netfilter/xt_conntrack.c b/net/netfilter/xt_conntrack.c index 145489a4c3f2..1540885174ee 100644 --- a/net/netfilter/xt_conntrack.c +++ b/net/netfilter/xt_conntrack.c @@ -241,11 +241,8 @@ static struct xt_match conntrack_match = { static int __init xt_conntrack_init(void) { - int ret; need_conntrack(); - ret = xt_register_match(&conntrack_match); - - return ret; + return xt_register_match(&conntrack_match); } static void __exit xt_conntrack_fini(void) |
