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>
This commit is contained in:
Родитель
e09538eac9
Коммит
339821f7d2
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче