From: Takashi Iwai Date: Sat, 16 May 2020 06:28:53 +0000 (+0200) Subject: ALSA: hda: Drop unused snd_hda_queue_unsol_event() X-Git-Tag: v5.8-rc1~151^2~23 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=6325c7fade7db4d6ebefd44604176476ffad6a4b;p=users%2Fjedix%2Flinux-maple.git 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 --- diff --git a/include/sound/hda_codec.h b/include/sound/hda_codec.h index 8a32060e3d8d7..d16a4229209b2 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,