Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/librumpuser Remove superfluous getcontext()



details:   https://anonhg.NetBSD.org/src/rev/b76eb84f1bf9
branches:  trunk
changeset: 333563:b76eb84f1bf9
user:      justin <justin%NetBSD.org@localhost>
date:      Sat Nov 08 23:47:15 2014 +0000

description:
Remove superfluous getcontext()

diffstat:

 lib/librumpuser/rumpfiber.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 8dd1115c049e -r b76eb84f1bf9 lib/librumpuser/rumpfiber.c
--- a/lib/librumpuser/rumpfiber.c       Sat Nov 08 23:20:23 2014 +0000
+++ b/lib/librumpuser/rumpfiber.c       Sat Nov 08 23:47:15 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rumpfiber.c,v 1.7 2014/11/08 23:20:23 justin Exp $     */
+/*     $NetBSD: rumpfiber.c,v 1.8 2014/11/08 23:47:15 justin Exp $     */
 
 /*
  * Copyright (c) 2007-2013 Antti Kantee.  All Rights Reserved.
@@ -68,7 +68,7 @@
 #include "rumpuser_port.h"
 
 #if !defined(lint)
-__RCSID("$NetBSD: rumpfiber.c,v 1.7 2014/11/08 23:20:23 justin Exp $");
+__RCSID("$NetBSD: rumpfiber.c,v 1.8 2014/11/08 23:47:15 justin Exp $");
 #endif /* !lint */
 
 #include <sys/ioctl.h>
@@ -388,7 +388,6 @@
 {
        struct thread *thread = calloc(1, sizeof(struct thread));
 
-       getcontext(&thread->ctx);
        thread->name = strdup("init");
        thread->flags = 0;
        thread->wakeup_time = -1;



Home | Main Index | Thread Index | Old Index