From: Jon Paul Maloy Date: Fri, 22 Aug 2014 22:09:13 +0000 (-0400) Subject: tipc: eliminate functions tipc_port_init and tipc_port_destroy X-Git-Tag: fixes-against-v3.18-rc2~81^2~242^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b8fa7ce823a59a328e0a7661df2478bfb745de4;p=pandora-kernel.git 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 Reviewed-by: Erik Hugne Reviewed-by: Ying Xue Signed-off-by: David S. Miller --- Reading git-diff-tree failed