From: Jens Axboe Date: Fri, 11 Apr 2014 17:42:13 +0000 (-0600) Subject: init: remove bogus check for NULL parent X-Git-Tag: fio-2.1.9~66 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=bcdcb5ab2db296ea3f92ab15b811ff1fe8cab446 init: remove bogus check for NULL parent Signed-off-by: Jens Axboe --- diff --git a/init.c b/init.c index 35fbdf15..215b60d4 100644 --- a/init.c +++ b/init.c @@ -364,7 +364,7 @@ static struct thread_data *get_new_job(int global, struct thread_data *parent, td->thread_number = thread_number; - if (!parent || !parent->o.group_reporting) + if (!parent->o.group_reporting) stat_number++; set_cmd_options(td);