From: Jon Paul Maloy Date: Fri, 22 Aug 2014 22:09:10 +0000 (-0400) Subject: tipc: eliminate function tipc_port_shutdown() X-Git-Tag: fixes-against-v3.18-rc2~81^2~242^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80e44c22255468337b891da2348cab68cb62766f;p=pandora-kernel.git tipc: eliminate function tipc_port_shutdown() tipc_port_shutdown() is a remnant from the now obsolete native interface. As such it grabs port_lock in order to protect itself from concurrent BH processing. However, after the recent changes to the port/socket upcalls, sockets are now basically single-threaded, and all execution, except the read-only tipc_sk_timer(), is executing within the protection of lock_sock(). So the use of port_lock is not needed here. In this commit we eliminate the whole function, and merge it into its only caller, tipc_shutdown(). Signed-off-by: Jon Maloy Reviewed-by: Erik Hugne Reviewed-by: Ying Xue Signed-off-by: David S. Miller --- Reading git-diff-tree failed