net: wan: lmc: use time_is_before_jiffies() instead of open coding it
authorWang Qing <wangqing@vivo.com>
Mon, 28 Feb 2022 03:13:48 +0000 (19:13 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Feb 2022 13:21:31 +0000 (13:21 +0000)
commitb7eb7f67eb293ec2cb8d3bde73b3173ae4273708
tree1d52611bfd63448f0396cb32b498916b3ff4e7a2
parent61c4fb9c4d09dfb6f33690169560862d5d0e42f7
net: wan: lmc: 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/wan/lmc/lmc_main.c