summaryrefslogtreecommitdiff
path: root/net/hsr
diff options
context:
space:
mode:
authorAlex Shi <alex.shi@linux.alibaba.com>2020-01-21 11:49:53 +0300
committerDavid S. Miller <davem@davemloft.net>2020-01-21 14:03:21 +0300
commit339821f7d2d890a61cebeb9d085643668d4df6e4 (patch)
tree316a0bcab502ebc43b24fd089449e5f5b8e53534 /net/hsr
parente09538eac996e11d36027cb546a9ac50d07edeb1 (diff)
downloadlinux-339821f7d2d890a61cebeb9d085643668d4df6e4.tar.xz
net/hsr: remove seq_nr_after_or_eq
It's never used after introduced. So maybe better to remove. Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com> Cc: Arvid Brodin <arvid.brodin@alten.se> Cc: "David S. Miller" <davem@davemloft.net> Cc: netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/hsr')
-rw-r--r--net/hsr/hsr_framereg.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/hsr/hsr_framereg.c b/net/hsr/hsr_framereg.c
index 27dc65d7de67..364ea2cc028e 100644
--- a/net/hsr/hsr_framereg.c
+++ b/net/hsr/hsr_framereg.c
@@ -35,7 +35,6 @@ static bool seq_nr_after(u16 a, u16 b)
}
#define seq_nr_before(a, b) seq_nr_after((b), (a))
-#define seq_nr_after_or_eq(a, b) (!seq_nr_before((a), (b)))
#define seq_nr_before_or_eq(a, b) (!seq_nr_after((a), (b)))
bool hsr_addr_is_self(struct hsr_priv *hsr, unsigned char *addr)