[alsa-devel] [PATCH 1/5] ALSA: hda: Remove unused variable
Stephen Warren
swarren at wwwdotorg.org
Tue Jul 1 17:07:15 CEST 2014
On 07/01/2014 05:32 AM, Sachin Kamat wrote:
> 'status' is not used in the function. Remove it.
CCing Dylan Reid for comments/testing since he wrote or upstreamed this
code.
> Signed-off-by: Sachin Kamat <sachin.kamat at samsung.com>
> Cc: Stephen Warren <swarren at wwwdotorg.org>
> Cc: Thierry Reding <thierry.reding at gmail.com>
> ---
> All patches in this series only compile tested.
> ---
> sound/pci/hda/hda_tegra.c | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/sound/pci/hda/hda_tegra.c b/sound/pci/hda/hda_tegra.c
> index a366ba9293a8..8cd7b06eecef 100644
> --- a/sound/pci/hda/hda_tegra.c
> +++ b/sound/pci/hda/hda_tegra.c
> @@ -272,13 +272,9 @@ static int hda_tegra_resume(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);
> - int status;
>
> hda_tegra_enable_clocks(hda);
>
> - /* Read STATESTS before controller reset */
> - status = azx_readw(chip, STATESTS);
> -
> hda_tegra_init(hda);
>
> azx_init_chip(chip, 1);
>
More information about the Alsa-devel
mailing list