diff options
author | Alex Shi <alex.shi@linux.alibaba.com> | 2020-01-21 16:49:53 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-01-21 12:03:21 +0100 |
commit | 339821f7d2d890a61cebeb9d085643668d4df6e4 (patch) | |
tree | 316a0bcab502ebc43b24fd089449e5f5b8e53534 /net/hsr | |
parent | e09538eac996e11d36027cb546a9ac50d07edeb1 (diff) | |
download | linux-339821f7d2d890a61cebeb9d085643668d4df6e4.tar.gz linux-339821f7d2d890a61cebeb9d085643668d4df6e4.tar.bz2 linux-339821f7d2d890a61cebeb9d085643668d4df6e4.zip |
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.c | 1 |
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) |