summaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@samsung.com>2014-07-01 13:32:54 +0200
committerTakashi Iwai <tiwai@suse.de>2014-07-01 17:55:25 +0200
commitd5471e67229adb31a1e5f026955d006f06315f3d (patch)
treed16fc1e41ac971e702db020fd8368993187b4099 /sound/pci
parentALSA: mixart: Remove unused variable (diff)
downloadlinux-d5471e67229adb31a1e5f026955d006f06315f3d.tar.xz
linux-d5471e67229adb31a1e5f026955d006f06315f3d.zip
ALSA: hda: Remove unused variable
'status' is not used in the function. Remove it. Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com> Tested-by: Dylan Reid <dgreid@chromium.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/hda/hda_tegra.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/pci/hda/hda_tegra.c b/sound/pci/hda/hda_tegra.c
index cc4a923f68e3..dc4bb21ed17b 100644
--- a/sound/pci/hda/hda_tegra.c
+++ b/sound/pci/hda/hda_tegra.c
@@ -271,13 +271,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);