diff options
Diffstat (limited to 'drivers/net/bonding/bond_alb.c')
-rw-r--r-- | drivers/net/bonding/bond_alb.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/bonding/bond_alb.c b/drivers/net/bonding/bond_alb.c index 8f2d2e7c70e5..2df9276720a0 100644 --- a/drivers/net/bonding/bond_alb.c +++ b/drivers/net/bonding/bond_alb.c | |||
@@ -163,8 +163,6 @@ static int tlb_initialize(struct bonding *bond) | |||
163 | struct tlb_client_info *new_hashtbl; | 163 | struct tlb_client_info *new_hashtbl; |
164 | int i; | 164 | int i; |
165 | 165 | ||
166 | spin_lock_init(&(bond_info->tx_hashtbl_lock)); | ||
167 | |||
168 | new_hashtbl = kzalloc(size, GFP_KERNEL); | 166 | new_hashtbl = kzalloc(size, GFP_KERNEL); |
169 | if (!new_hashtbl) { | 167 | if (!new_hashtbl) { |
170 | pr_err("%s: Error: Failed to allocate TLB hash table\n", | 168 | pr_err("%s: Error: Failed to allocate TLB hash table\n", |
@@ -747,8 +745,6 @@ static int rlb_initialize(struct bonding *bond) | |||
747 | int size = RLB_HASH_TABLE_SIZE * sizeof(struct rlb_client_info); | 745 | int size = RLB_HASH_TABLE_SIZE * sizeof(struct rlb_client_info); |
748 | int i; | 746 | int i; |
749 | 747 | ||
750 | spin_lock_init(&(bond_info->rx_hashtbl_lock)); | ||
751 | |||
752 | new_hashtbl = kmalloc(size, GFP_KERNEL); | 748 | new_hashtbl = kmalloc(size, GFP_KERNEL); |
753 | if (!new_hashtbl) { | 749 | if (!new_hashtbl) { |
754 | pr_err("%s: Error: Failed to allocate RLB hash table\n", | 750 | pr_err("%s: Error: Failed to allocate RLB hash table\n", |