summaryrefslogtreecommitdiffstats
path: root/net/tipc/net.c
diff options
context:
space:
mode:
authorJon Maloy <jon.maloy@ericsson.com>2018-03-29 23:20:42 +0200
committerDavid S. Miller <davem@davemloft.net>2018-04-01 04:19:52 +0200
commitf20889f72bd531cad88fbb571755a52cabf43424 (patch)
treec7e892e9fd93ab583b9a88224f57e2538deffccc /net/tipc/net.c
parenttipc: replace name table service range array with rb tree (diff)
downloadlinux-f20889f72bd531cad88fbb571755a52cabf43424.tar.xz
linux-f20889f72bd531cad88fbb571755a52cabf43424.zip
tipc: refactor name table translate function
The function tipc_nametbl_translate() function is ugly and hard to follow. This can be improved somewhat by introducing a stack variable for holding the publication list to be used and re-ordering the if- clauses for selection of algorithm. Signed-off-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/net.c')
0 files changed, 0 insertions, 0 deletions