Skip to content

Commit a974eab

Browse files
committed
hda/max98390: Remove unused variables
Signed-off-by: Eric Naim <dnaim@cachyos.org>
1 parent 12ed4bb commit a974eab

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

sound/hda/codecs/realtek/alc269.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6688,6 +6688,7 @@ static const struct hda_fixup alc269_fixups[] = {
66886688
{ 0x12, 0x90a60160 }, /* use as internal mic */
66896689
{ }
66906690
},
6691+
},
66916692
[ALC287_FIXUP_AW88399_I2C_2] = {
66926693
.type = HDA_FIXUP_FUNC,
66936694
.v.func = aw88399_fixup_i2c_two,

sound/hda/codecs/side-codecs/max98390_hda.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ static const struct component_ops max98390_hda_comp_ops = {
8787
static int max98390_hda_init(struct max98390_hda_priv *priv)
8888
{
8989
int ret;
90-
unsigned int reg, global_en, amp_en, pcm_rx;
90+
unsigned int reg;
9191

9292
/* Check device ID */
9393
ret = regmap_read(priv->regmap, MAX98390_R24FF_REV_ID, &reg);

0 commit comments

Comments
 (0)