From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Subject: Re: [PATCH 1/5] ALSA: hda: Remove unused variable Date: Tue, 01 Jul 2014 09:07:15 -0600 Message-ID: <53B2CEA3.1010905@wwwdotorg.org> References: <1404214378-24669-1-git-send-email-sachin.kamat@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from avon.wwwdotorg.org (avon.wwwdotorg.org [70.85.31.133]) by alsa0.perex.cz (Postfix) with ESMTP id CDF742656BB for ; Tue, 1 Jul 2014 17:07:18 +0200 (CEST) In-Reply-To: <1404214378-24669-1-git-send-email-sachin.kamat@samsung.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Dylan Reid Cc: alsa-devel@alsa-project.org, tiwai@suse.de, Sachin Kamat , Thierry Reding , spk.linux@gmail.com List-Id: alsa-devel@alsa-project.org On 07/01/2014 05:32 AM, Sachin Kamat wrote: > 'status' is not used in the function. Remove it. CCing Dylan Reid for comments/testing since he wrote or upstreamed this code. > Signed-off-by: Sachin Kamat > Cc: Stephen Warren > Cc: Thierry Reding > --- > 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); >