diff options
author | Takashi Iwai <tiwai@suse.de> | 2017-12-22 10:45:07 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-02 20:35:08 +0100 |
commit | a1dbcd823a302fa90766ca4eb80374031d4dea72 (patch) | |
tree | 74d5d4b41733bd6315ad0506ddcf4cc7b2d47487 /sound/pci/ca0106 | |
parent | d30d1761bc433d5ab5b620129b0efa3d4a7c6e52 (diff) |
ALSA: hda: Drop useless WARN_ON()
commit a36c2638380c0a4676647a1f553b70b20d3ebce1 upstream.
Since the commit 97cc2ed27e5a ("ALSA: hda - Fix yet another i915
pointer leftover in error path") cleared hdac_acomp pointer, the
WARN_ON() non-NULL check in snd_hdac_i915_register_notifier() may give
a false-positive warning, as the function gets called no matter
whether the component is registered or not. For fixing it, let's get
rid of the spurious WARN_ON().
Fixes: 97cc2ed27e5a ("ALSA: hda - Fix yet another i915 pointer leftover in error path")
Reported-by: Kouta Okamoto <kouta.okamoto@toshiba.co.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/pci/ca0106')
0 files changed, 0 insertions, 0 deletions