]> 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)
commit985fff32be7980ead5d8aeb37a339f19ce5d2055
treec57200a8b9cf7491f3845e1d3c0b64c45d2dadad
parent6c85870f5b24fd0461b9029f5b2a35b66e4156b4
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