LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Linux Next Mailing List <linux-next@vger.kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Jaroslav Kysela <perex@perex.cz>
Subject: Re: linux-next: build warning after merge of the sound tree
Date: Mon, 21 Jan 2019 09:13:39 +0100 [thread overview]
Message-ID: <s5h7eeyzavg.wl-tiwai@suse.de> (raw)
In-Reply-To: <20190121112148.591aa586@canb.auug.org.au>
On Mon, 21 Jan 2019 01:21:48 +0100,
Stephen Rothwell wrote:
On Mon, 21 Jan 2019 01:21:48 +0100,
Stephen Rothwell wrote:
>
> Hi Takashi,
>
> After merging the sound tree, today's linux-next build (arm
> multi_v7_defconfig) produced this warning:
>
> sound/pci/hda/hda_codec.c: In function 'hda_codec_runtime_suspend':
> sound/pci/hda/hda_codec.c:2926:18: warning: unused variable 'pcm' [-Wunused-variable]
> struct hda_pcm *pcm;
> ^~~
>
> Introduced by commit
>
> 17bc4815de58 ("ALSA: pci: Remove superfluous snd_pcm_suspend*() calls")
Thanks, fixed now with the patch below.
Takashi
-- 8< --
From: Takashi Iwai <tiwai@suse.de>
Subject: [PATCH] ALSA: hda - Fix unused variable warning
The unused variable was forgotten to be removed and now we get a
compiler warning:
sound/pci/hda/hda_codec.c: In function 'hda_codec_runtime_suspend':
sound/pci/hda/hda_codec.c:2926:18: warning: unused variable 'pcm'
Fixes: 17bc4815de58 ("ALSA: pci: Remove superfluous snd_pcm_suspend*() calls")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
sound/pci/hda/hda_codec.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c
index ff6dbed4d3cd..e4704f5729d3 100644
--- a/sound/pci/hda/hda_codec.c
+++ b/sound/pci/hda/hda_codec.c
@@ -2923,7 +2923,6 @@ static void hda_call_codec_resume(struct hda_codec *codec)
static int hda_codec_runtime_suspend(struct device *dev)
{
struct hda_codec *codec = dev_to_hda_codec(dev);
- struct hda_pcm *pcm;
unsigned int state;
cancel_delayed_work_sync(&codec->jackpoll_work);
--
2.16.4
next prev parent reply other threads:[~2019-01-21 8:13 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-21 0:21 Stephen Rothwell
2019-01-21 8:13 ` Takashi Iwai [this message]
2019-01-22 7:16 ` [PATCH] ALSA: hda - Fix unused variable warning kbuild test robot
-- strict thread matches above, loose matches on Subject: below --
2023-02-08 23:48 linux-next: build warning after merge of the sound tree Stephen Rothwell
2023-02-09 3:14 ` Stephen Rothwell
2021-08-23 10:00 Stephen Rothwell
2021-08-23 14:27 ` Takashi Iwai
2020-05-01 4:03 Stephen Rothwell
2020-05-01 7:33 ` Takashi Iwai
2019-12-12 0:28 Stephen Rothwell
2010-03-30 3:48 Stephen Rothwell
2010-03-30 6:07 ` Takashi Iwai
2010-02-23 5:07 Stephen Rothwell
2010-02-23 5:20 ` Luke Yelavich
2010-02-23 7:11 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5h7eeyzavg.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=perex@perex.cz \
--cc=sfr@canb.auug.org.au \
--subject='Re: linux-next: build warning after merge of the sound tree' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).