net: ethernet: use time_is_before_eq_jiffies() instead of open coding it
authorWang Qing <wangqing@vivo.com>
Mon, 28 Feb 2022 03:12:22 +0000 (19:12 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Feb 2022 13:21:31 +0000 (13:21 +0000)
commit882edc06216834bf0963c4bfaf926f53eea04495
tree306a876b43c3de2f829184599798a7aeadf35088
parenta5081bad2eac5108593ac36b6551201f0df9e897
net: ethernet: use time_is_before_eq_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/jme.c