net: ethernet: sun: use time_is_before_jiffies() instead of open coding it
authorWang Qing <wangqing@vivo.com>
Mon, 28 Feb 2022 03:13:15 +0000 (19:13 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Feb 2022 13:21:31 +0000 (13:21 +0000)
commite0e8028cc0b8db4ece76c3dc9a8d1b6e03ab7d7a
tree41ca06170e29dd93b2e17e7485b679af59a06a0d
parent3b6cab7b5a2feed11f3d6ad90e0ad8ea03f87670
net: ethernet: sun: use time_is_before_jiffies() instead of open coding it

Use the helper function time_is_{before,after}_jiffies() to improve
code readability.

Signed-off-by: Wang Qing <wangqing@vivo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sun/cassini.c