ALSA: hda: tegra: Fix unused variable compile warning
Subsystems (2)
PATCH 1/1 ALSA: hda: tegra: Fix unused variable compile warning
Forgot to remove the variable declaration as well in the last commit.
sound/pci/hda/hda_tegra.c: In function 'hda_tegra_runtime_suspend':
sound/pci/hda/hda_tegra.c:169:19: warning: unused variable 'bus' [-Wunused-variable]
Fixes f36da9406e66 ("ALSA: hda: Support PCM sync_stop")
Reported-by Stephen Rothwell <[email protected]>
Signed-off-by Takashi Iwai <[email protected]>
--- sound/pci/hda/hda_tegra.c | 1 - 1 file changed, 1 deletion(-)
sound/pci/hda/hda_tegra.c +0 -1
@@ -166,7 +166,6 @@ static int __maybe_unused hda_tegra_runtime_suspend(struct device *dev)struct snd_card *card =dev_get_drvdata (dev);struct azx *chip = card->private_data; struct hda_tegra *hda = container_of(chip, struct hda_tegra, chip); -struct hdac_bus *bus =azx_bus (chip);if (chip && chip->running) {azx_stop_chip (chip);
Signature · 6 lines
2.16.4 _______________________________________________ Alsa-devel mailing list [email protected] https://mailman.alsa-project.org/mailman/listinfo/alsa-devel