tipc: collapse subscription creation functions
authorJon Maloy <jon.maloy@ericsson.com>
Thu, 15 Feb 2018 09:40:47 +0000 (10:40 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Feb 2018 20:26:34 +0000 (15:26 -0500)
commit242e82cc95f6b4e83e1771f9915edcb2a63708e1
tree00821f92cfc58231f4054d27fe5297b7f36a8836
parent8985ecc7c1e07c42acc1e44ac56fa224f8a5c62f
tipc: collapse subscription creation functions

After the previous changes it becomes logical to collapse the two-level
creation of subscription instances into one. We do that here.

We also rename the creation and deletion functions for more consistency.

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/server.c
net/tipc/server.h
net/tipc/subscr.c
net/tipc/subscr.h