sunrpc: Call xs_create_sockX directly from setup_socket
authorPavel Emelyanov <xemul@parallels.com>
Mon, 4 Oct 2010 12:55:38 +0000 (16:55 +0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 19 Oct 2010 14:48:15 +0000 (10:48 -0400)
commit573018c07e040b2c3f3cb8251f66fa4a5cb7425d
tree179674de7b92fd31b9e83bc64a82092de52cf504
parent22d44a7d8a03456aa6d0a047c051aa28728e6ecd
sunrpc: Call xs_create_sockX directly from setup_socket

Remove now unneeded wrappers that just add type and protocol
to socket creation callback.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/xprtsock.c