summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2013-05-19 00:06:43 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-05-19 00:06:43 +0200
commit35b0af420ce7150533d4bf249b4ddfe9b4231ddd (patch)
treee70a2fae9a57d1462156f9850eb124335268a7f6 /kern
parentc4d56664a22f0c46ec0e81b856860964ea89f420 (diff)
Remove duplicate line
Reported by Miguel Figueiredo * kern/thread.c (thread_create): Remove duplicate reset of new_thread->pc_sample.buffer to 0.
Diffstat (limited to 'kern')
-rw-r--r--kern/thread.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kern/thread.c b/kern/thread.c
index 87be923..204a7f5 100644
--- a/kern/thread.c
+++ b/kern/thread.c
@@ -533,7 +533,6 @@ kern_return_t thread_create(
#endif /* HW_FOOTPRINT */
#if MACH_PCSAMPLE
- new_thread->pc_sample.buffer = 0;
new_thread->pc_sample.seqno = 0;
new_thread->pc_sample.sampletypes = 0;
#endif /* MACH_PCSAMPLE */