tipc: refactor function tipc_enable_bearer()
authorJon Maloy <jon.maloy@ericsson.com>
Thu, 22 Mar 2018 19:42:45 +0000 (20:42 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Mar 2018 17:12:17 +0000 (13:12 -0400)
commitcb30a63384bc91d5da06e1cede1115f666a29271
tree1450c4677a697a69022df499b372d936b11eebae
parent594619497f3d6d4b8d8440e6d380e8da9dcc9eeb
tipc: refactor function tipc_enable_bearer()

As a preparation for the next commits we try to reduce the footprint of
the function tipc_enable_bearer(), while hopefully making is simpler to
follow.

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/bearer.c