mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-05 19:31:57 -04:00
techpack: audio: aw87xxx: Remove unused variables
Change-Id: Id389e69f7d3faf712dd96282c4543a914e1e647d
This commit is contained in:
parent
b7d0f348da
commit
25d20d8c3b
2 changed files with 0 additions and 8 deletions
|
|
@ -527,7 +527,6 @@ static int aw87xxx_profile_switch_get(struct snd_kcontrol *kcontrol,
|
|||
struct snd_ctl_elem_value *ucontrol)
|
||||
{
|
||||
int index = 0;
|
||||
char *profile;
|
||||
struct aw87xxx *aw87xxx = (struct aw87xxx *)kcontrol->private_value;
|
||||
|
||||
if (aw87xxx == NULL) {
|
||||
|
|
@ -540,7 +539,6 @@ static int aw87xxx_profile_switch_get(struct snd_kcontrol *kcontrol,
|
|||
return -EINVAL;
|
||||
}
|
||||
|
||||
profile = aw87xxx->current_profile;
|
||||
AW_DEV_LOGI(aw87xxx->dev, "current profile:[%s]",
|
||||
aw87xxx->current_profile);
|
||||
|
||||
|
|
|
|||
|
|
@ -149,9 +149,6 @@ static int aw_check_header_size(struct device *dev,
|
|||
static int aw_check_ddt_size_v_0_0_0_1(struct device *dev, char *fw_data)
|
||||
{
|
||||
struct aw_acf_hdr *acf_hdr = (struct aw_acf_hdr *)fw_data;
|
||||
struct aw_acf_dde *acf_dde = NULL;
|
||||
|
||||
acf_dde = (struct aw_acf_dde *)(fw_data + acf_hdr->ddt_offset);
|
||||
|
||||
/* check ddt_size in acf_header is aqual to ddt_num multiply by dde_size */
|
||||
if (acf_hdr->ddt_size != acf_hdr->dde_num * sizeof(struct aw_acf_dde)) {
|
||||
|
|
@ -281,9 +278,6 @@ static int aw_check_data_v_0_0_0_1(struct device *dev,
|
|||
static int aw_check_ddt_size_v_1_0_0_0(struct device *dev, char *fw_data)
|
||||
{
|
||||
struct aw_acf_hdr *acf_hdr = (struct aw_acf_hdr *)fw_data;
|
||||
struct aw_acf_dde_v_1_0_0_0 *acf_dde = NULL;
|
||||
|
||||
acf_dde = (struct aw_acf_dde_v_1_0_0_0 *)(fw_data + acf_hdr->ddt_offset);
|
||||
|
||||
/* check ddt_size in acf_header is aqual to ddt_num multiply by dde_size */
|
||||
if (acf_hdr->ddt_size != acf_hdr->dde_num * sizeof(struct aw_acf_dde_v_1_0_0_0)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue