commit | f20889f72bd531cad88fbb571755a52cabf43424 | [log] [tgz] |
---|---|---|
author | Jon Maloy <jon.maloy@ericsson.com> | Thu Mar 29 23:20:42 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sat Mar 31 22:19:52 2018 -0400 |
tree | c7e892e9fd93ab583b9a88224f57e2538deffccc | |
parent | 218527fe27adaebeb81eb770459eb335517e90ee [diff] |
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>