Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7b92d70f authored by Sharvil Nanavati's avatar Sharvil Nanavati Committed by Andre Eisenbach
Browse files

Remove unnecessary newlines at the end of log statements.

parent 83951772
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -427,7 +427,7 @@ bt_status_t btif_init_bluetooth() {

  bt_jni_workqueue_thread = thread_new(BT_JNI_WORKQUEUE_NAME);
  if (bt_jni_workqueue_thread == NULL) {
    LOG_ERROR("%s Unable to create thread %s\n", __func__, BT_JNI_WORKQUEUE_NAME);
    LOG_ERROR("%s Unable to create thread %s", __func__, BT_JNI_WORKQUEUE_NAME);
    goto error_exit;
  }

+6 −6
Original line number Diff line number Diff line
@@ -494,7 +494,7 @@ void btu_start_timer(TIMER_LIST_ENT *p_tle, UINT16 type, UINT32 timeout_sec) {

  alarm_t *alarm = hash_map_get(btu_general_alarm_hash_map, p_tle);
  if (alarm == NULL) {
    LOG_ERROR("%s Unable to create alarm\n", __func__);
    LOG_ERROR("%s Unable to create alarm", __func__);
    return;
  }
  alarm_cancel(alarm);
@@ -539,7 +539,7 @@ void btu_stop_timer(TIMER_LIST_ENT *p_tle) {
  // Get the alarm for the timer list entry.
  alarm_t *alarm = hash_map_get(btu_general_alarm_hash_map, p_tle);
  if (alarm == NULL) {
    LOG_WARN("%s Unable to find expected alarm in hashmap\n", __func__);
    LOG_WARN("%s Unable to find expected alarm in hashmap", __func__);
    return;
  }
  alarm_cancel(alarm);
@@ -589,7 +589,7 @@ void btu_start_quick_timer(TIMER_LIST_ENT *p_tle, UINT16 type, UINT32 timeout_ti

  alarm_t *alarm = hash_map_get(btu_l2cap_alarm_hash_map, p_tle);
  if (alarm == NULL) {
    LOG_ERROR("%s Unable to create alarm\n", __func__);
    LOG_ERROR("%s Unable to create alarm", __func__);
    return;
  }
  alarm_cancel(alarm);
@@ -620,7 +620,7 @@ void btu_stop_quick_timer(TIMER_LIST_ENT *p_tle) {
  // Get the alarm for the timer list entry.
  alarm_t *alarm = hash_map_get(btu_l2cap_alarm_hash_map, p_tle);
  if (alarm == NULL) {
    LOG_WARN("%s Unable to find expected alarm in hashmap\n", __func__);
    LOG_WARN("%s Unable to find expected alarm in hashmap", __func__);
    return;
  }
  alarm_cancel(alarm);
@@ -652,7 +652,7 @@ void btu_start_timer_oneshot(TIMER_LIST_ENT *p_tle, UINT16 type, UINT32 timeout_

  alarm_t *alarm = hash_map_get(btu_oneshot_alarm_hash_map, p_tle);
  if (alarm == NULL) {
    LOG_ERROR("%s Unable to create alarm\n", __func__);
    LOG_ERROR("%s Unable to create alarm", __func__);
    return;
  }
  alarm_cancel(alarm);
@@ -674,7 +674,7 @@ void btu_stop_timer_oneshot(TIMER_LIST_ENT *p_tle) {
  // Get the alarm for the timer list entry.
  alarm_t *alarm = hash_map_get(btu_oneshot_alarm_hash_map, p_tle);
  if (alarm == NULL) {
    LOG_WARN("%s Unable to find expected alarm in hashmap\n", __func__);
    LOG_WARN("%s Unable to find expected alarm in hashmap", __func__);
    return;
  }
  alarm_cancel(alarm);