diff --git a/android/hal-hidhost.c b/android/hal-hidhost.c
index a65f244..a7af27a 100644
--- a/android/hal-hidhost.c
+++ b/android/hal-hidhost.c
static bt_status_t hh_init(bthh_callbacks_t *callbacks)
{
struct hal_msg_cmd_register_module cmd;
+
DBG("");
/* store reference to user callbacks */
cmd.service_id = HAL_SERVICE_ID_HIDHOST;
- if (hal_ipc_cmd(HAL_SERVICE_ID_CORE, HAL_MSG_OP_REGISTER_MODULE,
- sizeof(cmd), &cmd, 0, NULL, NULL) < 0) {
- error("Failed to register 'hidhost'' service");
-
- return BT_STATUS_FAIL;
- }
-
- return BT_STATUS_SUCCESS;
+ return hal_ipc_cmd(HAL_SERVICE_ID_CORE, HAL_MSG_OP_REGISTER_MODULE,
+ sizeof(cmd), &cmd, 0, NULL, NULL);
}
static void hh_cleanup(void)