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 /sound/pci/hda/patch_ca0132.c | |
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 'sound/pci/hda/patch_ca0132.c')
-rw-r--r-- | sound/pci/hda/patch_ca0132.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sound/pci/hda/patch_ca0132.c b/sound/pci/hda/patch_ca0132.c index 50ca72ee586e..208933792787 100644 --- a/sound/pci/hda/patch_ca0132.c +++ b/sound/pci/hda/patch_ca0132.c @@ -9682,11 +9682,6 @@ static void dbpro_free(struct hda_codec *codec) kfree(codec->spec); } -static void ca0132_reboot_notify(struct hda_codec *codec) -{ - codec->patch_ops.free(codec); -} - #ifdef CONFIG_PM static int ca0132_suspend(struct hda_codec *codec) { @@ -9706,7 +9701,6 @@ static const struct hda_codec_ops ca0132_patch_ops = { #ifdef CONFIG_PM .suspend = ca0132_suspend, #endif - .reboot_notify = ca0132_reboot_notify, }; static const struct hda_codec_ops dbpro_patch_ops = { |