summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2008-04-07 16:45:37 -0400
committerJ. Bruce Fields <bfields@citi.umich.edu>2008-04-23 16:13:42 -0400
commit8774282c4cef82695ccca8bd09976de5d6e49610 (patch)
treed5061bde10232534900729aedb3ee63a78183ae5 /net
parente1ba1ab76e68de9f4a93fae8406627924efaed99 (diff)
downloadlwn-8774282c4cef82695ccca8bd09976de5d6e49610.tar.gz
lwn-8774282c4cef82695ccca8bd09976de5d6e49610.zip
SUNRPC: remove svc_create_thread()
Now that the nfs4 callback thread uses the kthread API, there are no more users of svc_create_thread(). Remove it. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'net')
-rw-r--r--net/sunrpc/svc.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c
index a6e68190e0d2..e7b716c76366 100644
--- a/net/sunrpc/svc.c
+++ b/net/sunrpc/svc.c
@@ -619,16 +619,6 @@ out_thread:
}
/*
- * Create a thread in the default pool. Caller must hold BKL.
- */
-int
-svc_create_thread(svc_thread_fn func, struct svc_serv *serv)
-{
- return __svc_create_thread(func, serv, &serv->sv_pools[0]);
-}
-EXPORT_SYMBOL(svc_create_thread);
-
-/*
* Choose a pool in which to create a new thread, for svc_set_num_threads
*/
static inline struct svc_pool *