diff options
Diffstat (limited to 'runtime/runtime.h')
-rw-r--r-- | runtime/runtime.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/runtime/runtime.h b/runtime/runtime.h index 62240e1f..5903bede 100644 --- a/runtime/runtime.h +++ b/runtime/runtime.h @@ -59,23 +59,13 @@ static struct /************* Module Stuff ********************/ int probe_start(void); -int init_module(void) +int init_module (void) { - int ret; - - /* First open connection. This exits on failure. */ - TRANSPORT_OPEN; - - ret = probe_start(); - if (ret < 0) - _stp_transport_close(); - - return ret; + return _stp_transport_init(); } void cleanup_module(void) { - _stp_transport_cleanup(); _stp_transport_close(); } |