diff options
author | Stephen Hemminger | 2009-02-18 16:30:20 +0100 |
---|---|---|
committer | Patrick McHardy | 2009-02-18 16:30:20 +0100 |
commit | 9c8222b9e71b690c8388bb0ebe5c3e5a1469e884 (patch) | |
tree | fbc5eed2431d4a7ed979e61acfb0b82a9b7a3008 /net/ipv6/netfilter/ip6table_mangle.c | |
parent | netfilter: x_tables: change elements in x_tables (diff) | |
download | kernel-qcow2-linux-9c8222b9e71b690c8388bb0ebe5c3e5a1469e884.tar.gz kernel-qcow2-linux-9c8222b9e71b690c8388bb0ebe5c3e5a1469e884.tar.xz kernel-qcow2-linux-9c8222b9e71b690c8388bb0ebe5c3e5a1469e884.zip |
netfilter: x_tables: remove unneeded initializations
Later patches change the locking on xt_table and the initialization of
the lock element is not needed since the lock is always initialized in
xt_table_register anyway.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/ipv6/netfilter/ip6table_mangle.c')
-rw-r--r-- | net/ipv6/netfilter/ip6table_mangle.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv6/netfilter/ip6table_mangle.c b/net/ipv6/netfilter/ip6table_mangle.c index d0b31b259d4d..ab0d398a2ba7 100644 --- a/net/ipv6/netfilter/ip6table_mangle.c +++ b/net/ipv6/netfilter/ip6table_mangle.c @@ -60,7 +60,6 @@ static struct static struct xt_table packet_mangler = { .name = "mangle", .valid_hooks = MANGLE_VALID_HOOKS, - .lock = __RW_LOCK_UNLOCKED(packet_mangler.lock), .me = THIS_MODULE, .af = AF_INET6, }; |