]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: embed jiffies in macro TIPC_BC_RETR_LIM
authorJon Maloy <jon.maloy@ericsson.com>
Fri, 28 Jun 2019 15:06:20 +0000 (17:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jul 2019 02:10:57 +0000 (19:10 -0700)
commit3e3a333d23b09d3c40c92b308b56c44ab5543a9c
treeb36ae6742ad5bea11f0961dcdf513a5719726312
parent5ad096458d919fb49f37dd587a76615c2c2d4f3e
tipc: embed jiffies in macro TIPC_BC_RETR_LIM

The macro TIPC_BC_RETR_LIM is always used in combination with 'jiffies',
so we can just as well perform the addition in the macro itself. This
way, we get a few shorter code lines and one less line break.

Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Acked-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/link.c