[model] Redwood,Kiran,B3(Wearable)
[binary_type] AP
[customer] Docomo/Orange/ATT/Open
[issue#] N/A
[problem]
[cause]
[solution]
[team] HomeTF
[request]
[horizontal_expansion]
Change-Id: I1292fe299825a2056a04da67275b028f75b6747b
int connection_fini(void)
{
- if (com_core_del_event_callback(CONNECTOR_DISCONNECTED, disconnected_cb, NULL) < 0) {
- ErrPrint("Unable to de-register the disconnected callback\n");
- }
-
- if (com_core_del_event_callback(CONNECTOR_CONNECTED, connected_cb, NULL) < 0) {
- ErrPrint("Unable to de-register the disconnected callback\n");
- }
+ (void)com_core_del_event_callback(CONNECTOR_DISCONNECTED, disconnected_cb, NULL);
+ (void)com_core_del_event_callback(CONNECTOR_CONNECTED, connected_cb, NULL);
return LB_STATUS_SUCCESS;
}