summaryrefslogtreecommitdiffstats
path: root/runtime/transport/transport.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/transport/transport.c')
-rw-r--r--runtime/transport/transport.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/runtime/transport/transport.c b/runtime/transport/transport.c
index d3e5ff5e..fdd91078 100644
--- a/runtime/transport/transport.c
+++ b/runtime/transport/transport.c
@@ -88,14 +88,11 @@ static void _stp_handle_buf_info(int *cpuptr)
*/
void _stp_handle_start (struct transport_start *st)
{
- int err;
kbug ("stp_handle_start pid=%d\n", st->pid);
- err = probe_start();
- if (err < 0) {
- st->pid = err;
+ st->pid = probe_start();
+ if (st->pid < 0)
_stp_exit_called = 1;
- _stp_transport_send(STP_START, st, sizeof(*st));
- }
+ _stp_transport_send(STP_START, st, sizeof(*st));
}
#ifdef STP_RELAYFS