[alsa-devel] [PATCH 1/5] ALSA: hda: Remove unused variable

Sachin Kamat sachin.kamat at samsung.com
Tue Jul 1 13:32:54 CEST 2014


'status' is not used in the function. Remove it.

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);
-- 
1.7.9.5



More information about the Alsa-devel mailing list