ALSA: hda: Remove unused variable
authorSachin Kamat <sachin.kamat@samsung.com>
Tue, 1 Jul 2014 11:32:54 +0000 (17:02 +0530)
committerTakashi Iwai <tiwai@suse.de>
Tue, 1 Jul 2014 15:55:25 +0000 (17:55 +0200)
'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>
sound/pci/hda/hda_tegra.c

index cc4a923f68e3700f6e20df70c3bc5a166f183ecb..dc4bb21ed17b5c0342fb727f3265a3fd8dead651 100644 (file)
@@ -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);