aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/translation-table.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/batman-adv/translation-table.c')
-rw-r--r--net/batman-adv/translation-table.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/net/batman-adv/translation-table.c b/net/batman-adv/translation-table.c
index c6fd0b760d3e..d4b27b65d6e9 100644
--- a/net/batman-adv/translation-table.c
+++ b/net/batman-adv/translation-table.c
@@ -116,7 +116,6 @@ batadv_tt_global_hash_find(struct batadv_priv *bat_priv, const void *data)
116 struct batadv_tt_global_entry, 116 struct batadv_tt_global_entry,
117 common); 117 common);
118 return tt_global_entry; 118 return tt_global_entry;
119
120} 119}
121 120
122static void 121static void
@@ -256,7 +255,6 @@ static void batadv_tt_global_free(struct batadv_priv *bat_priv,
256 batadv_hash_remove(bat_priv->tt.global_hash, batadv_compare_tt, 255 batadv_hash_remove(bat_priv->tt.global_hash, batadv_compare_tt,
257 batadv_choose_orig, tt_global->common.addr); 256 batadv_choose_orig, tt_global->common.addr);
258 batadv_tt_global_entry_free_ref(tt_global); 257 batadv_tt_global_entry_free_ref(tt_global);
259
260} 258}
261 259
262void batadv_tt_local_add(struct net_device *soft_iface, const uint8_t *addr, 260void batadv_tt_local_add(struct net_device *soft_iface, const uint8_t *addr,
@@ -652,7 +650,6 @@ static void batadv_tt_local_purge(struct batadv_priv *bat_priv)
652 batadv_tt_local_purge_list(bat_priv, head); 650 batadv_tt_local_purge_list(bat_priv, head);
653 spin_unlock_bh(list_lock); 651 spin_unlock_bh(list_lock);
654 } 652 }
655
656} 653}
657 654
658static void batadv_tt_local_table_free(struct batadv_priv *bat_priv) 655static void batadv_tt_local_table_free(struct batadv_priv *bat_priv)
@@ -1079,7 +1076,6 @@ batadv_tt_global_del_orig_list(struct batadv_tt_global_entry *tt_global_entry)
1079 batadv_tt_orig_list_entry_free_ref(orig_entry); 1076 batadv_tt_orig_list_entry_free_ref(orig_entry);
1080 } 1077 }
1081 spin_unlock_bh(&tt_global_entry->list_lock); 1078 spin_unlock_bh(&tt_global_entry->list_lock);
1082
1083} 1079}
1084 1080
1085static void 1081static void
@@ -1855,7 +1851,6 @@ out:
1855 if (!ret) 1851 if (!ret)
1856 kfree_skb(skb); 1852 kfree_skb(skb);
1857 return ret; 1853 return ret;
1858
1859} 1854}
1860 1855
1861static bool 1856static bool
@@ -2382,7 +2377,6 @@ static void batadv_tt_local_purge_pending_clients(struct batadv_priv *bat_priv)
2382 } 2377 }
2383 spin_unlock_bh(list_lock); 2378 spin_unlock_bh(list_lock);
2384 } 2379 }
2385
2386} 2380}
2387 2381
2388static int batadv_tt_commit_changes(struct batadv_priv *bat_priv, 2382static int batadv_tt_commit_changes(struct batadv_priv *bat_priv,
@@ -2579,7 +2573,6 @@ bool batadv_tt_local_client_is_roaming(struct batadv_priv *bat_priv,
2579 batadv_tt_local_entry_free_ref(tt_local_entry); 2573 batadv_tt_local_entry_free_ref(tt_local_entry);
2580out: 2574out:
2581 return ret; 2575 return ret;
2582
2583} 2576}
2584 2577
2585bool batadv_tt_add_temporary_global_entry(struct batadv_priv *bat_priv, 2578bool batadv_tt_add_temporary_global_entry(struct batadv_priv *bat_priv,