startup_tcb() never fails, remove code which checks for failures
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
diff --git a/strace.c b/strace.c
index bf5531c..35089ab 100644
--- a/strace.c
+++ b/strace.c
@@ -2005,7 +2005,7 @@
}
}
-static bool
+static void
startup_tcb(struct tcb *tcp)
{
if (debug_flag)
@@ -2025,8 +2025,6 @@
}
}
}
-
- return true;
}
/* Returns true iff the main trace loop has to continue. */
@@ -2151,8 +2149,7 @@
/* Is this the very first time we see this tracee stopped? */
if (tcp->flags & TCB_STARTUP) {
- if (!startup_tcb(tcp))
- return false;
+ startup_tcb(tcp);
if (get_scno(tcp) == 1)
tcp->s_prev_ent = tcp->s_ent;
}