diff options
author | Jon Maloy <jon.maloy@ericsson.com> | 2017-10-20 12:21:32 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-22 04:36:35 +0300 |
commit | 0d5fcebf3c370eb27f9a0e8db454625e73cd1cb4 (patch) | |
tree | 590c536fadf115aaf7873d3b0ea45b1c199dd7c9 /drivers | |
parent | 36341de257a127f3e73fdfb758e017e3a8548fb0 (diff) | |
download | linux-0d5fcebf3c370eb27f9a0e8db454625e73cd1cb4.tar.xz |
tipc: refactor tipc_sk_timeout() function
The function tipc_sk_timeout() is more complex than necessary, and
even seems to contain an undetected bug. At one of the occurences
where we renew the timer we just order it with (HZ / 20), instead
of (jiffies + HZ / 20);
In this commit we clean up the function.
Acked-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions