OSDN Git Service

net: hamradio: use time_is_after_jiffies() instead of open coding it
authorWang Qing <wangqing@vivo.com>
Mon, 28 Feb 2022 03:13:31 +0000 (19:13 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Feb 2022 13:21:31 +0000 (13:21 +0000)
commit61c4fb9c4d09dfb6f33690169560862d5d0e42f7
tree402e94189229f1adb2d2b3fd0b3e1b9473472cb1
parente0e8028cc0b8db4ece76c3dc9a8d1b6e03ab7d7a
net: hamradio: use time_is_after_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/hamradio/dmascc.c