summaryrefslogtreecommitdiff
path: root/src/modules/sparkler
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/sparkler')
-rw-r--r--src/modules/sparkler/sparkler.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/modules/sparkler/sparkler.c b/src/modules/sparkler/sparkler.c
index 272c0fd..f13954e 100644
--- a/src/modules/sparkler/sparkler.c
+++ b/src/modules/sparkler/sparkler.c
@@ -35,17 +35,11 @@ static sparkler_setup_t sparkler_default_setup;
static void * sparkler_create_context(unsigned ticks, unsigned num_cpus, void *setup)
{
- static int initialized;
sparkler_context_t *ctxt;
if (!setup)
setup = &sparkler_default_setup;
- if (!initialized) {
- srand(time(NULL) + getpid());
- initialized = 1;
- }
-
ctxt = calloc(1, sizeof(sparkler_context_t));
if (!ctxt)
return NULL;
© All Rights Reserved