summaryrefslogtreecommitdiff
path: root/sound/pci/hda/hda_tegra.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@samsung.com>2014-07-01 15:32:54 +0400
committerTakashi Iwai <tiwai@suse.de>2014-07-01 19:55:25 +0400
commitd5471e67229adb31a1e5f026955d006f06315f3d (patch)
treed16fc1e41ac971e702db020fd8368993187b4099 /sound/pci/hda/hda_tegra.c
parent330fb10df832b0008892964601d9d142c14a906f (diff)
downloadlinux-d5471e67229adb31a1e5f026955d006f06315f3d.tar.xz
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/hda/hda_tegra.c')
-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);