diff options
author | Takashi Iwai <tiwai@suse.de> | 2021-08-13 11:12:30 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-08-14 09:39:38 +0300 |
commit | 327b34f2a97d72c41d4854d61336c9ae6ffe4a44 (patch) | |
tree | ee822f5ff287ae6456cda0e2d118c66f29cafda1 /include/sound/hda_codec.h | |
parent | b98444ed597dc42be620bcac241c93da50933e69 (diff) | |
download | linux-327b34f2a97d72c41d4854d61336c9ae6ffe4a44.tar.xz |
ALSA: hda: Nuke unused reboot_notify callback
As reboot_notify callback is no longer used by the codec core, let's
get rid of the unused code. Conexant codec needs a slight code change
as it used to call the reboot_notify at the codec removal, too.
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=214045
Link: https://lore.kernel.org/r/20210813081230.4268-4-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound/hda_codec.h')
-rw-r--r-- | include/sound/hda_codec.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/sound/hda_codec.h b/include/sound/hda_codec.h index 2e8d51937acd..01570dbda503 100644 --- a/include/sound/hda_codec.h +++ b/include/sound/hda_codec.h @@ -114,7 +114,6 @@ struct hda_codec_ops { int (*resume)(struct hda_codec *codec); int (*check_power_status)(struct hda_codec *codec, hda_nid_t nid); #endif - void (*reboot_notify)(struct hda_codec *codec); void (*stream_pm)(struct hda_codec *codec, hda_nid_t nid, bool on); }; |