File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
subsys/bluetooth/host/classic Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,6 @@ static enum at_cme bt_hfp_ag_get_cme_err(int err)
171
171
cme_err = CME_ERROR_MEMORY_FAILURE ;
172
172
break ;
173
173
case - ENOMEM :
174
- __fallthrough ;
175
174
case - ENOBUFS :
176
175
cme_err = CME_ERROR_MEMORY_FULL ;
177
176
break ;
@@ -3405,11 +3404,8 @@ static void bt_ag_deferred_work_cb(struct bt_hfp_ag *ag, void *user_data)
3405
3404
case BT_HFP_CALL_HOLD :
3406
3405
break ;
3407
3406
case BT_HFP_CALL_OUTGOING :
3408
- __fallthrough ;
3409
3407
case BT_HFP_CALL_INCOMING :
3410
- __fallthrough ;
3411
3408
case BT_HFP_CALL_ALERTING :
3412
- __fallthrough ;
3413
3409
default :
3414
3410
LOG_WRN ("Call timeout, status %s" , bt_ag_get_call_state_string (call_state ));
3415
3411
@@ -4439,22 +4435,16 @@ int bt_hfp_ag_set_indicator(struct bt_hfp_ag *ag, enum bt_hfp_ag_indicator index
4439
4435
4440
4436
switch (index ) {
4441
4437
case BT_HFP_AG_SERVICE_IND :
4442
- __fallthrough ;
4443
4438
case BT_HFP_AG_SIGNAL_IND :
4444
- __fallthrough ;
4445
4439
case BT_HFP_AG_ROAM_IND :
4446
- __fallthrough ;
4447
4440
case BT_HFP_AG_BATTERY_IND :
4448
4441
if ((ag_ind [(uint8_t )index ].min > value ) || (ag_ind [(uint8_t )index ].max < value )) {
4449
4442
return - EINVAL ;
4450
4443
}
4451
4444
break ;
4452
4445
case BT_HFP_AG_CALL_IND :
4453
- __fallthrough ;
4454
4446
case BT_HFP_AG_CALL_SETUP_IND :
4455
- __fallthrough ;
4456
4447
case BT_HFP_AG_CALL_HELD_IND :
4457
- __fallthrough ;
4458
4448
default :
4459
4449
return - EINVAL ;
4460
4450
}
You can’t perform that action at this time.
0 commit comments