Skip to content

Commit

Permalink
nimble/audio/bass: Remove unnecessary variable
Browse files Browse the repository at this point in the history
Remove uncnecessary variable representing
characterisic value in remove source operation
  • Loading branch information
szymon-czapracki authored and sjanc committed Oct 31, 2024
1 parent 1d65368 commit 7353633
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions nimble/host/audio/services/bass/src/ble_audio_svc_bass.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 7353633

Please sign in to comment.