Skip to contentSkip to conversation

ALSA: hda/tegra: Remove unused "bus" variable

PATCH In review Thierry Reding 2 participants 2 messages Dec 12, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: hda/tegra: Remove unused "bus" variable

From: Thierry Reding <[email protected]>

After commit f36da9406e66 ("ALSA: hda: Support PCM sync_stop"), the local "bus" variable is no longer used. Remove it.

---
 sound/pci/hda/hda_tegra.c | 1 -
 1 file changed, 1 deletion(-)
sound/pci/hda/hda_tegra.c +0 -1
index fc2e0a294bc1..269f242fcbfd 100644
@@ -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 · 1 line
2.23.0
#1 lore raw
Quoted 7 lines · Thierry Reding

From: Thierry Reding <[email protected]>

After commit f36da9406e66 ("ALSA: hda: Support PCM sync_stop"), the local "bus" variable is no longer used. Remove it.

Thanks, that's already addressed on my tree.

Takashi

Quoted 19 lines
---
 sound/pci/hda/hda_tegra.c | 1 -
 1 file changed, 1 deletion(-)
sound/pci/hda/hda_tegra.c +0 -1
index fc2e0a294bc1..269f242fcbfd 100644
@@ -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 · 1 line
2.23.0