From 282b32e17f64be2204f1ac96d7f40f92cb768cd7 Mon Sep 17 00:00:00 2001 From: Chuck Lever Date: Tue, 5 Dec 2006 16:35:51 -0500 Subject: SUNRPC: create stubs for xprtsock init and cleanup Over time we will want to add some specific init and cleanup logic for the xprtsock implementation. Add stub routines for initialization and exit processing. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust --- net/sunrpc/xprtsock.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'net/sunrpc/xprtsock.c') diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c index ad61b3e9123..70131c36f37 100644 --- a/net/sunrpc/xprtsock.c +++ b/net/sunrpc/xprtsock.c @@ -1502,3 +1502,21 @@ struct rpc_xprt *xs_setup_tcp(struct sockaddr *addr, size_t addrlen, struct rpc_ return xprt; } + +/** + * init_socket_xprt - stub + * + */ +int init_socket_xprt(void) +{ + return 0; +} + +/** + * cleanup_socket_xprt - stub + * + */ +void cleanup_socket_xprt(void) +{ + return; +} -- cgit v1.2.3-18-g5258