init: remove bogus check for NULL parent
authorJens Axboe <axboe@fb.com>
Fri, 11 Apr 2014 17:42:13 +0000 (11:42 -0600)
committerJens Axboe <axboe@fb.com>
Fri, 11 Apr 2014 17:42:13 +0000 (11:42 -0600)
Signed-off-by: Jens Axboe <axboe@fb.com>
init.c

diff --git a/init.c b/init.c
index 35fbdf15365b3661b4dea465b2ae978be096cb59..215b60d40418c9e379cfc50b3e93493ebf3656e6 100644 (file)
--- 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);