Skip to content

Commit 269cee6

Browse files
ecsvsimonwunderlich
authored andcommitted
batman-adv: Remove unused variable in batadv_tt_local_set_flags
Signed-off-by: Sven Eckelmann <[email protected]> Signed-off-by: Simon Wunderlich <[email protected]>
1 parent ac79cbb commit 269cee6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

net/batman-adv/translation-table.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3714,7 +3714,6 @@ static void batadv_tt_local_set_flags(struct batadv_priv *bat_priv, u16 flags,
37143714
{
37153715
struct batadv_hashtable *hash = bat_priv->tt.local_hash;
37163716
struct batadv_tt_common_entry *tt_common_entry;
3717-
u16 changed_num = 0;
37183717
struct hlist_head *head;
37193718
u32 i;
37203719

@@ -3736,7 +3735,6 @@ static void batadv_tt_local_set_flags(struct batadv_priv *bat_priv, u16 flags,
37363735
continue;
37373736
tt_common_entry->flags &= ~flags;
37383737
}
3739-
changed_num++;
37403738

37413739
if (!count)
37423740
continue;

0 commit comments

Comments
 (0)