alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [alsa-devel] [PATCH] ALSA: hda/tegra: Remove unused "bus" variable
@ 2019-12-12 11:19 Thierry Reding
  2019-12-12 11:28 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Thierry Reding @ 2019-12-12 11:19 UTC (permalink / raw)
  To: Takashi Iwai, Jaroslav Kysela; +Cc: linux-tegra, alsa-devel, Jon Hunter

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(-)

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

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [alsa-devel] [PATCH] ALSA: hda/tegra: Remove unused "bus" variable
  2019-12-12 11:19 [alsa-devel] [PATCH] ALSA: hda/tegra: Remove unused "bus" variable Thierry Reding
@ 2019-12-12 11:28 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2019-12-12 11:28 UTC (permalink / raw)
  To: Thierry Reding; +Cc: linux-tegra, alsa-devel, Jon Hunter

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
> 
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-12-12 11:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-12 11:19 [alsa-devel] [PATCH] ALSA: hda/tegra: Remove unused "bus" variable Thierry Reding
2019-12-12 11:28 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).