]> Git Repo - linux.git/commit - net/tipc/core.h
tipc: clean up link creation
authorJon Paul Maloy <[email protected]>
Thu, 30 Jul 2015 22:24:26 +0000 (18:24 -0400)
committerDavid S. Miller <[email protected]>
Fri, 31 Jul 2015 00:25:15 +0000 (17:25 -0700)
commit440d8963cd590ec9387d76a36e60c02da9ed944d
tree7d1135b020321fd3bd06f9bd6dbc1837380858f8
parent9073fb8be3ee6f89492b8ea8f6d3902913a9fc91
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 <[email protected]>
Signed-off-by: Jon Maloy <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/tipc/core.h
net/tipc/link.c
net/tipc/link.h
net/tipc/node.c
This page took 0.054738 seconds and 4 git commands to generate.