diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/sunrpc/sunrpc_syms.c | 1 | ||||
-rw-r--r-- | net/sunrpc/svcsock.c | 22 |
2 files changed, 0 insertions, 23 deletions
diff --git a/net/sunrpc/sunrpc_syms.c b/net/sunrpc/sunrpc_syms.c index 11b309817b8f..ab8a7362e890 100644 --- a/net/sunrpc/sunrpc_syms.c +++ b/net/sunrpc/sunrpc_syms.c | |||
@@ -33,7 +33,6 @@ EXPORT_SYMBOL(svc_drop); | |||
33 | EXPORT_SYMBOL(svc_process); | 33 | EXPORT_SYMBOL(svc_process); |
34 | EXPORT_SYMBOL(svc_recv); | 34 | EXPORT_SYMBOL(svc_recv); |
35 | EXPORT_SYMBOL(svc_wake_up); | 35 | EXPORT_SYMBOL(svc_wake_up); |
36 | EXPORT_SYMBOL(svc_makesock); | ||
37 | EXPORT_SYMBOL(svc_reserve); | 36 | EXPORT_SYMBOL(svc_reserve); |
38 | EXPORT_SYMBOL(svc_auth_register); | 37 | EXPORT_SYMBOL(svc_auth_register); |
39 | EXPORT_SYMBOL(auth_domain_lookup); | 38 | EXPORT_SYMBOL(auth_domain_lookup); |
diff --git a/net/sunrpc/svcsock.c b/net/sunrpc/svcsock.c index 9f0f6d088969..e6bb1b0563ec 100644 --- a/net/sunrpc/svcsock.c +++ b/net/sunrpc/svcsock.c | |||
@@ -1988,28 +1988,6 @@ void svc_force_close_socket(struct svc_sock *svsk) | |||
1988 | svc_close_socket(svsk); | 1988 | svc_close_socket(svsk); |
1989 | } | 1989 | } |
1990 | 1990 | ||
1991 | /** | ||
1992 | * svc_makesock - Make a socket for nfsd and lockd | ||
1993 | * @serv: RPC server structure | ||
1994 | * @protocol: transport protocol to use | ||
1995 | * @port: port to use | ||
1996 | * @flags: requested socket characteristics | ||
1997 | * | ||
1998 | */ | ||
1999 | int svc_makesock(struct svc_serv *serv, int protocol, unsigned short port, | ||
2000 | int flags) | ||
2001 | { | ||
2002 | dprintk("svc: creating socket proto = %d\n", protocol); | ||
2003 | switch (protocol) { | ||
2004 | case IPPROTO_TCP: | ||
2005 | return svc_create_xprt(serv, "tcp", port, flags); | ||
2006 | case IPPROTO_UDP: | ||
2007 | return svc_create_xprt(serv, "udp", port, flags); | ||
2008 | default: | ||
2009 | return -EINVAL; | ||
2010 | } | ||
2011 | } | ||
2012 | |||
2013 | /* | 1991 | /* |
2014 | * Handle defer and revisit of requests | 1992 | * Handle defer and revisit of requests |
2015 | */ | 1993 | */ |