diff options
author | Jon Paul Maloy <jon.maloy@ericsson.com> | 2014-08-22 18:09:13 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-08-23 11:18:34 -0700 |
commit | 5b8fa7ce823a59a328e0a7661df2478bfb745de4 (patch) | |
tree | 1bc95f4e995d044f3eaa7916b42bd98a0d698ca2 /net/tipc/net.c | |
parent | 739f5e4efc82c4cb6b5201cbed337b6ff663bf19 (diff) | |
download | linux-stable-5b8fa7ce823a59a328e0a7661df2478bfb745de4.tar.gz linux-stable-5b8fa7ce823a59a328e0a7661df2478bfb745de4.tar.bz2 linux-stable-5b8fa7ce823a59a328e0a7661df2478bfb745de4.zip |
tipc: eliminate functions tipc_port_init and tipc_port_destroy
After the latest changes to the socket/port layer the existence of
the functions tipc_port_init() and tipc_port_destroy() cannot be
justified. They are both called only once, from tipc_sk_create() and
tipc_sk_delete() respectively, and their functionality can better be
merged into the latter two functions.
This also entails that all remaining references to port_lock now are
made from inside socket.c, something that will make it easier to remove
this lock.
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Reviewed-by: Erik Hugne <erik.hugne@ericsson.com>
Reviewed-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/net.c')
0 files changed, 0 insertions, 0 deletions