projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac79cbb
)
batman-adv: Remove unused variable in batadv_tt_local_set_flags
author
Sven Eckelmann
<sven@narfation.org>
Sat, 17 Dec 2016 10:58:29 +0000
(11:58 +0100)
committer
Simon Wunderlich
<sw@simonwunderlich.de>
Thu, 26 Jan 2017 07:34:20 +0000
(08:34 +0100)
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/translation-table.c
patch
|
blob
|
history
diff --git
a/net/batman-adv/translation-table.c
b/net/batman-adv/translation-table.c
index 941afad921217924bdca5e607c736b7293200048..6077a87d46f0f781ac72dcc3cc1d9f84c814ad19 100644
(file)
--- a/
net/batman-adv/translation-table.c
+++ b/
net/batman-adv/translation-table.c
@@
-3714,7
+3714,6
@@
static void batadv_tt_local_set_flags(struct batadv_priv *bat_priv, u16 flags,
{
struct batadv_hashtable *hash = bat_priv->tt.local_hash;
struct batadv_tt_common_entry *tt_common_entry;
- u16 changed_num = 0;
struct hlist_head *head;
u32 i;
@@
-3736,7
+3735,6
@@
static void batadv_tt_local_set_flags(struct batadv_priv *bat_priv, u16 flags,
continue;
tt_common_entry->flags &= ~flags;
}
- changed_num++;
if (!count)
continue;