From: Sachin Kamat Date: Tue, 1 Jul 2014 11:32:54 +0000 (+0530) Subject: ALSA: hda: Remove unused variable X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d5471e67229adb31a1e5f026955d006f06315f3d;p=linux-beck.git ALSA: hda: Remove unused variable 'status' is not used in the function. Remove it. Signed-off-by: Sachin Kamat Tested-by: Dylan Reid Signed-off-by: Takashi Iwai --- 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);