]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: simplify small window members' sorting algorithm
authorJon Maloy <jon.maloy@ericsson.com>
Thu, 4 Jan 2018 14:20:45 +0000 (15:20 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Jan 2018 18:37:03 +0000 (13:37 -0500)
commit4757bc48413b163180e15430b8fa6f5c2d28ae9c
treec57200a8b9cf7491f3845e1d3c0b64c45d2dadad
parent018631dba3557a9945f921863576f0b219f050e9
tipc: simplify small window members' sorting algorithm

We simplify the sorting algorithm in tipc_update_member(). We also make
the remaining conditional call to this function unconditional, since the
same condition now is tested for inside the said 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>
net/tipc/group.c