aboutsummaryrefslogtreecommitdiff
path: root/net/bridge/netfilter/ebtable_nat.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-02-18 16:30:38 +0100
committerPatrick McHardy <kaber@trash.net>2009-02-18 16:30:38 +0100
commit842bff366b536787b88c07cbf2416e2cb26cae67 (patch)
tree61cf742e3da810bb7690162f360c80be52952adb /net/bridge/netfilter/ebtable_nat.c
parent9c8222b9e71b690c8388bb0ebe5c3e5a1469e884 (diff)
netfilter: ebtables: remove unneeded initializations
The initialization of the lock element is not needed since the lock is always initialized in ebt_register_table. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/bridge/netfilter/ebtable_nat.c')
-rw-r--r--net/bridge/netfilter/ebtable_nat.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/bridge/netfilter/ebtable_nat.c b/net/bridge/netfilter/ebtable_nat.c
index 3fe1ae87e35..6024c551f9a 100644
--- a/net/bridge/netfilter/ebtable_nat.c
+++ b/net/bridge/netfilter/ebtable_nat.c
@@ -55,7 +55,6 @@ static struct ebt_table frame_nat =
.name = "nat",
.table = &initial_table,
.valid_hooks = NAT_VALID_HOOKS,
- .lock = __RW_LOCK_UNLOCKED(frame_nat.lock),
.check = check,
.me = THIS_MODULE,
};