mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-03 13:32:07 -04:00
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>
This commit is contained in:
committed by
Mark Brown
parent
2317e84979
commit
4642126b85
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user