diff options
author | Tzung-Bi Shih <tzungbi@google.com> | 2020-04-30 16:22:31 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-04-30 14:06:53 +0100 |
commit | 4642126b852f46d5d6a16bc60d50fbe4920c2710 (patch) | |
tree | d9cb6d1b71c54bb358913dbb70bef1959a9a883c /sound/soc/codecs/rt5682.c | |
parent | 2317e84979fb80821c0d3ef909f1a2b68ace37f9 (diff) |
ASoC: rt5682: remove unwanted btn_type assignment
The following dev_err() is intended to print unexpected btn_type.
Removes the unwanted btn_type assignment.
Signed-off-by: Tzung-Bi Shih <tzungbi@google.com>
Link: https://lore.kernel.org/r/20200430082231.151127-7-tzungbi@google.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt5682.c')
-rw-r--r-- | sound/soc/codecs/rt5682.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt5682.c b/sound/soc/codecs/rt5682.c index 19fb9f1d8f49..5d3b11756a34 100644 --- a/sound/soc/codecs/rt5682.c +++ b/sound/soc/codecs/rt5682.c @@ -1134,7 +1134,6 @@ static void rt5682_jack_detect_handler(struct work_struct *work) case 0x0000: /* unpressed */ break; default: - btn_type = 0; dev_err(rt5682->component->dev, "Unexpected button code 0x%04x\n", btn_type); |