bug-hurd
[Top][All Lists]
Advanced

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

kern/thread.c (new_thread->pc_sample.buffer): remove duplicate


From: Miguel Figueiredo
Subject: kern/thread.c (new_thread->pc_sample.buffer): remove duplicate
Date: Tue, 14 May 2013 22:08:50 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130413 Icedove/17.0.5

2013-05-14 Miguel Figueiredo <elmig@debianpt.org>

* kern/thread.c (new_thread->pc_sample.buffer): remove duplicate line

diff --git a/kern/thread.c b/kern/thread.c
index 87be923..9dbc677 100644
--- a/kern/thread.c
+++ b/kern/thread.c
@@ -538,7 +538,6 @@ kern_return_t thread_create(
        new_thread->pc_sample.sampletypes = 0;
 #endif /* MACH_PCSAMPLE */

-       new_thread->pc_sample.buffer = 0;
        /*
         *      Add the thread to the task`s list of threads.
         *      The new thread holds another reference to the task.

--
Melhores cumprimentos/Best regards,

Miguel Figueiredo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]