commit | 440d8963cd590ec9387d76a36e60c02da9ed944d | [log] [tgz] |
---|---|---|
author | Jon Paul Maloy <jon.maloy@ericsson.com> | Thu Jul 30 18:24:26 2015 -0400 |
committer | David S. Miller <davem@davemloft.net> | Thu Jul 30 17:25:15 2015 -0700 |
tree | 7d1135b020321fd3bd06f9bd6dbc1837380858f8 | |
parent | 9073fb8be3ee6f89492b8ea8f6d3902913a9fc91 [diff] |
tipc: clean up link creation We simplify the link creation function tipc_link_create() and the way the link struct it is connected to the node struct. In particular, we remove the duplicate initialization of some fields which are anyway set in tipc_link_reset(). Tested-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>