diff mbox series

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

Message ID 20191212111930.3076101-1-thierry.reding@gmail.com (mailing list archive)
State New, archived
Headers show
Series ALSA: hda/tegra: Remove unused "bus" variable | expand

Commit Message

Thierry Reding Dec. 12, 2019, 11:19 a.m. UTC
From: Thierry Reding <treding@nvidia.com>

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

Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 sound/pci/hda/hda_tegra.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Takashi Iwai Dec. 12, 2019, 11:28 a.m. UTC | #1
On Thu, 12 Dec 2019 12:19:30 +0100,
Thierry Reding wrote:
> 
> From: Thierry Reding <treding@nvidia.com>
> 
> After commit f36da9406e66 ("ALSA: hda: Support PCM sync_stop"), the
> local "bus" variable is no longer used. Remove it.
> 
> Signed-off-by: Thierry Reding <treding@nvidia.com>

Thanks, that's already addressed on my tree.


Takashi

> ---
>  sound/pci/hda/hda_tegra.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/sound/pci/hda/hda_tegra.c b/sound/pci/hda/hda_tegra.c
> index fc2e0a294bc1..269f242fcbfd 100644
> --- a/sound/pci/hda/hda_tegra.c
> +++ b/sound/pci/hda/hda_tegra.c
> @@ -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);
> -- 
> 2.23.0
>
diff mbox series

Patch

diff --git a/sound/pci/hda/hda_tegra.c b/sound/pci/hda/hda_tegra.c
index fc2e0a294bc1..269f242fcbfd 100644
--- a/sound/pci/hda/hda_tegra.c
+++ b/sound/pci/hda/hda_tegra.c
@@ -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);