From 19ce07b73b023117ad6fdd476af7ee529f028681 Mon Sep 17 00:00:00 2001 From: Szymon Czapracki Date: Thu, 31 Oct 2024 14:39:05 +0100 Subject: [PATCH] nimble/audio/bass: Remove unnecessary variable Remove uncnecessary variable representing characterisic value in remove source operation --- nimble/host/audio/services/bass/src/ble_audio_svc_bass.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/nimble/host/audio/services/bass/src/ble_audio_svc_bass.c b/nimble/host/audio/services/bass/src/ble_audio_svc_bass.c index e3cecb060e..33ab736685 100644 --- a/nimble/host/audio/services/bass/src/ble_audio_svc_bass.c +++ b/nimble/host/audio/services/bass/src/ble_audio_svc_bass.c @@ -606,7 +606,6 @@ ble_svc_audio_bass_remove_source(uint8_t *data, uint16_t data_len, uint16_t conn }; struct ble_svc_audio_bass_rcv_state_entry *rcv_state = NULL; struct ble_svc_audio_bass_operation operation; - uint16_t chr_val; int rc = 0; int i; @@ -638,7 +637,6 @@ ble_svc_audio_bass_remove_source(uint8_t *data, uint16_t data_len, uint16_t conn memset(rcv_state, 0, sizeof(*rcv_state)); rcv_state->source_id = BLE_SVC_AUDIO_BASS_RECEIVE_STATE_SRC_ID_NONE; - rcv_state->chr_val = chr_val; done: if (!rc) {