diff options
Diffstat (limited to 'net/batman-adv/translation-table.c')
-rw-r--r-- | net/batman-adv/translation-table.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/batman-adv/translation-table.c b/net/batman-adv/translation-table.c index 30ecbfb40adf..6077a87d46f0 100644 --- a/net/batman-adv/translation-table.c +++ b/net/batman-adv/translation-table.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* Copyright (C) 2007-2016 B.A.T.M.A.N. contributors: | 1 | /* Copyright (C) 2007-2017 B.A.T.M.A.N. contributors: |
2 | * | 2 | * |
3 | * Marek Lindner, Simon Wunderlich, Antonio Quartulli | 3 | * Marek Lindner, Simon Wunderlich, Antonio Quartulli |
4 | * | 4 | * |
@@ -3714,7 +3714,6 @@ static void batadv_tt_local_set_flags(struct batadv_priv *bat_priv, u16 flags, | |||
3714 | { | 3714 | { |
3715 | struct batadv_hashtable *hash = bat_priv->tt.local_hash; | 3715 | struct batadv_hashtable *hash = bat_priv->tt.local_hash; |
3716 | struct batadv_tt_common_entry *tt_common_entry; | 3716 | struct batadv_tt_common_entry *tt_common_entry; |
3717 | u16 changed_num = 0; | ||
3718 | struct hlist_head *head; | 3717 | struct hlist_head *head; |
3719 | u32 i; | 3718 | u32 i; |
3720 | 3719 | ||
@@ -3736,7 +3735,6 @@ static void batadv_tt_local_set_flags(struct batadv_priv *bat_priv, u16 flags, | |||
3736 | continue; | 3735 | continue; |
3737 | tt_common_entry->flags &= ~flags; | 3736 | tt_common_entry->flags &= ~flags; |
3738 | } | 3737 | } |
3739 | changed_num++; | ||
3740 | 3738 | ||
3741 | if (!count) | 3739 | if (!count) |
3742 | continue; | 3740 | continue; |