Skip to content

Commit 35e24f2

Browse files
edumazetkuba-moo
authored andcommitted
net: hsr: Remove interlink_sequence_nr.
Remove interlink_sequence_nr which is unused. [ bigeasy: split out from Eric's patch ]. Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 430d67b commit 35e24f2

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

net/hsr/hsr_device.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,6 @@ int hsr_dev_finalize(struct net_device *hsr_dev, struct net_device *slave[2],
625625
/* Overflow soon to find bugs easier: */
626626
hsr->sequence_nr = HSR_SEQNR_START;
627627
hsr->sup_sequence_nr = HSR_SUP_SEQNR_START;
628-
hsr->interlink_sequence_nr = HSR_SEQNR_START;
629628

630629
timer_setup(&hsr->announce_timer, hsr_announce, 0);
631630
timer_setup(&hsr->prune_timer, hsr_prune_nodes, 0);

net/hsr/hsr_main.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,6 @@ struct hsr_priv {
203203
struct timer_list prune_proxy_timer;
204204
int announce_count;
205205
u16 sequence_nr;
206-
u16 interlink_sequence_nr; /* Interlink port seq_nr */
207206
u16 sup_sequence_nr; /* For HSRv1 separate seq_nr for supervision */
208207
enum hsr_version prot_version; /* Indicate if HSRv0, HSRv1 or PRPv1 */
209208
spinlock_t seqnr_lock; /* locking for sequence_nr */

0 commit comments

Comments
 (0)