diff --git a/sys/rump/librump/rumpkern/klock.c b/sys/rump/librump/rumpkern/klock.c index b0fc952cdf87..c0b0dbb0ebd9 100644 --- a/sys/rump/librump/rumpkern/klock.c +++ b/sys/rump/librump/rumpkern/klock.c @@ -1,4 +1,4 @@ -/* $NetBSD: klock.c,v 1.6 2013/04/29 14:51:41 pooka Exp $ */ +/* $NetBSD: klock.c,v 1.7 2013/04/29 14:53:32 pooka Exp $ */ /* * Copyright (c) 2007-2010 Antti Kantee. All Rights Reserved. @@ -29,7 +29,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: klock.c,v 1.6 2013/04/29 14:51:41 pooka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: klock.c,v 1.7 2013/04/29 14:53:32 pooka Exp $"); #include #include @@ -166,14 +166,3 @@ rump_user_schedule(int nlocks, void *interlock) if (nlocks) _kernel_lock(nlocks); } - -void -rump_user_kthread(void) -{ - - KASSERT(curlwp == NULL); - rump_schedule(); - if (rump_lwproc_newlwp(0) != 0) - panic("kthread create failed"); - rump_unschedule(); -}