Skip to content

Commit 118dc95

Browse files
batman-adv: remove unused vid local variable in tt seq print
Signed-off-by: Simon Wunderlich <[email protected]> Signed-off-by: Sven Eckelmann <[email protected]> Signed-off-by: Marek Lindner <[email protected]>
1 parent 92d2b1a commit 118dc95

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
@@ -995,7 +995,6 @@ int batadv_tt_local_seq_print_text(struct seq_file *seq, void *offset)
995995
struct batadv_tt_local_entry *tt_local;
996996
struct batadv_hard_iface *primary_if;
997997
struct hlist_head *head;
998-
unsigned short vid;
999998
u32 i;
1000999
int last_seen_secs;
10011000
int last_seen_msecs;
@@ -1022,7 +1021,6 @@ int batadv_tt_local_seq_print_text(struct seq_file *seq, void *offset)
10221021
tt_local = container_of(tt_common_entry,
10231022
struct batadv_tt_local_entry,
10241023
common);
1025-
vid = tt_common_entry->vid;
10261024
last_seen_jiffies = jiffies - tt_local->last_seen;
10271025
last_seen_msecs = jiffies_to_msecs(last_seen_jiffies);
10281026
last_seen_secs = last_seen_msecs / 1000;

0 commit comments

Comments
 (0)