From e90c918515be692703df04534a3eda027e508050 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Wed, 11 Oct 2023 17:28:29 +0200 Subject: [PATCH] hfp_ag: delete dead code --- src/classic/hfp_ag.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/classic/hfp_ag.c b/src/classic/hfp_ag.c index 938ad0605..f165a97fc 100644 --- a/src/classic/hfp_ag.c +++ b/src/classic/hfp_ag.c @@ -1098,11 +1098,6 @@ static int hfp_ag_run_for_context_service_level_connection_queries(hfp_connectio hfp_ag_send_ok(hfp_connection->rfcomm_cid); return 1; case HFP_CMD_ENABLE_EXTENDED_AUDIO_GATEWAY_ERROR: - if (hfp_connection->extended_audio_gateway_error){ - hfp_connection->extended_audio_gateway_error = 0; - hfp_ag_send_report_extended_audio_gateway_error(hfp_connection->rfcomm_cid, hfp_connection->extended_audio_gateway_error_value); - return 1; - } break; case HFP_CMD_ENABLE_INDICATOR_STATUS_UPDATE: hfp_ag_send_ok(hfp_connection->rfcomm_cid);