diff options
author | Takashi Iwai <tiwai@suse.de> | 2024-02-22 18:31:48 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2024-02-22 19:26:53 +0300 |
commit | bc80e83ebbb274fcd40b17dd8c4f8a6b74808feb (patch) | |
tree | 2687ccec50823d9a9242c2e8c509f9e78aa8d378 /sound/pci/hda/hda_beep.c | |
parent | 372709508b847e7df3bbe2c52ab4c783bbce738f (diff) | |
download | linux-bc80e83ebbb274fcd40b17dd8c4f8a6b74808feb.tar.xz |
ALSA: hda: beep: Drop stale mutex
The beep->mutex is no longer used since the drop of beep_mode=2.
Let's get rid of it.
Fixes: 0920c9b4c4d8 ("ALSA: hda - Remove beep_mode=2")
Link: https://lore.kernel.org/r/20240222153148.19691-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_beep.c')
-rw-r--r-- | sound/pci/hda/hda_beep.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_beep.c b/sound/pci/hda/hda_beep.c index e63621bcb214..e51d47572557 100644 --- a/sound/pci/hda/hda_beep.c +++ b/sound/pci/hda/hda_beep.c @@ -231,7 +231,6 @@ int snd_hda_attach_beep_device(struct hda_codec *codec, int nid) codec->beep = beep; INIT_WORK(&beep->beep_work, &snd_hda_generate_beep); - mutex_init(&beep->mutex); input_dev = input_allocate_device(); if (!input_dev) { |