Skip to contentSkip to conversation

batman-adv: remove unused vid local variable in tt seq print

PATCH Applied Sven Eckelmann 2 participants 2 messages May 20, 2016 – Jun 6, 2016 Batman advanced

lore
Share & tools
lore

Sven Eckelmann

author maintainer
#0 lore raw

PATCH 1/1 batman-adv: remove unused vid local variable in tt seq print

From: Simon Wunderlich <[email protected]>

---
 net/batman-adv/translation-table.c | 2 --
 1 file changed, 2 deletions(-)
net/batman-adv/translation-table.c +0 -2
index bfb90b6..fff1f38 100644
@@ -1006,7 +1006,6 @@ int batadv_tt_local_seq_print_text(struct seq_file *seq, void *offset)
 	struct batadv_tt_local_entry *tt_local;
 	struct batadv_hard_iface *primary_if;
 	struct hlist_head *head;
-	unsigned short vid;
 	u32 i;
 	int last_seen_secs;
 	int last_seen_msecs;
@@ -1033,7 +1032,6 @@ int batadv_tt_local_seq_print_text(struct seq_file *seq, void *offset)
 			tt_local = container_of(tt_common_entry,
 						struct batadv_tt_local_entry,
 						common);
-			vid = tt_common_entry->vid;
 			last_seen_jiffies = jiffies - tt_local->last_seen;
 			last_seen_msecs = jiffies_to_msecs(last_seen_jiffies);
 			last_seen_secs = last_seen_msecs / 1000;
Signature · 1 line
2.8.1