X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fbootchart%2Fstore.c;h=b6ba11356192eacd205965cd1edf67fa4927bb93;hp=7f86cfe976c77c7e23621f825582f8960b8aa582;hb=226b735a745c1e9bbab24b47460d7304def9d38f;hpb=818156512411835a4a7f070e6fec3d7b80e1f629 diff --git a/src/bootchart/store.c b/src/bootchart/store.c index 7f86cfe97..b6ba11356 100644 --- a/src/bootchart/store.c +++ b/src/bootchart/store.c @@ -345,7 +345,7 @@ schedstat_next: while ((parent->next_ps && parent->pid != ps->ppid)) parent = parent->next_ps; - if ((!parent) || (parent->pid != ps->ppid)) { + if (parent->pid != ps->ppid) { /* orphan */ ps->ppid = 1; parent = ps_first->next_ps;