diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2022-04-14 16:56:07 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2022-04-14 16:56:07 -0700 |
commit | 28a0b44e400e2408b65b2bad9a137ec4fc21516d (patch) | |
tree | f9a27335d7cd45dd96f9be673233e6afa27f1d65 /src/modules/pixbounce | |
parent | 95ef32f1a667af567b9d3173fe456154e522dfde (diff) |
modules/*: remove srand() initializations
Just rely on til_init()'s srand() ensuring things are fresh.
Diffstat (limited to 'src/modules/pixbounce')
-rw-r--r-- | src/modules/pixbounce/pixbounce.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/modules/pixbounce/pixbounce.c b/src/modules/pixbounce/pixbounce.c index d016ff7..6585053 100644 --- a/src/modules/pixbounce/pixbounce.c +++ b/src/modules/pixbounce/pixbounce.c @@ -117,8 +117,6 @@ static void * pixbounce_create_context(unsigned ticks, unsigned num_cpus, void * if (!ctxt) return NULL; - srand(time(NULL) + getpid()); - ctxt->n_cpus = num_cpus; ctxt->x = 0; ctxt->y = 8; |