[PATCH v3 3/6] ALSA: hda/tegra: Remove unnecessary null-check from hda_tegra_runtime_resume()

Takashi Iwai tiwai at suse.de
Tue Jan 26 07:34:10 CET 2021


On Wed, 20 Jan 2021 01:31:51 +0100,
Dmitry Osipenko wrote:
> 
> The "chip" can't be NULL in hda_tegra_runtime_resume() because code would
> crash otherwise. Let's remove the unnecessary check in order to clean up
> code a tad.
> 
> Tested-by: Peter Geis <pgwipeout at gmail.com> # Ouya T30 audio works
> Tested-by: Matt Merhar <mattmerhar at protonmail.com> # Ouya T30 boot-tested
> Suggested-by: Thierry Reding <treding at nvidia.com>
> Signed-off-by: Dmitry Osipenko <digetx at gmail.com>

Applied, thanks.


Takashi


More information about the Alsa-devel mailing list