]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitd84d1b3b6b8c296de8d394002bc3a0ca910d7460
treec57200a8b9cf7491f3845e1d3c0b64c45d2dadad
parent38266ca17c5f142a25d4563335e143cbd62e65a7
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