summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-05-16 08:28:53 +0200
committerTakashi Iwai <tiwai@suse.de>2020-05-16 08:29:35 +0200
commit6325c7fade7db4d6ebefd44604176476ffad6a4b (patch)
tree537f7e52abd5624d34c3f8a1e50dc5af74f78b26 /include/sound
parentALSA: hda: Fix potential race in unsol event handler (diff)
downloadlinux-6325c7fade7db4d6ebefd44604176476ffad6a4b.tar.xz
linux-6325c7fade7db4d6ebefd44604176476ffad6a4b.zip
ALSA: hda: Drop unused snd_hda_queue_unsol_event()
The inline function is nowhere used. Drop it. Link: https://lore.kernel.org/r/20200516062854.22141-2-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/hda_codec.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/sound/hda_codec.h b/include/sound/hda_codec.h
index 8a32060e3d8d..d16a4229209b 100644
--- a/include/sound/hda_codec.h
+++ b/include/sound/hda_codec.h
@@ -366,13 +366,6 @@ struct hda_verb {
void snd_hda_sequence_write(struct hda_codec *codec,
const struct hda_verb *seq);
-/* unsolicited event */
-static inline void
-snd_hda_queue_unsol_event(struct hda_bus *bus, u32 res, u32 res_ex)
-{
- snd_hdac_bus_queue_event(&bus->core, res, res_ex);
-}
-
/* cached write */
static inline int
snd_hda_codec_write_cache(struct hda_codec *codec, hda_nid_t nid,