From e43fbdb36df77ca67bc27158c49ab1bce204a3ad Mon Sep 17 00:00:00 2001 From: pooka Date: Mon, 29 Apr 2013 14:53:32 +0000 Subject: [PATCH] remove routine not meant to be committed --- sys/rump/librump/rumpkern/klock.c | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) 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(); -}