lkml.org 
[lkml]   [2015]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] sound: hda_intel: fix warning if SND_HDA_I915=n
On Wed, Jun 17, 2015 at 03:13:39PM +0200, Takashi Iwai wrote:
> At Wed, 17 Jun 2015 14:53:19 +0200,
> Frans Klaver wrote:
> >
> > When building with CONFIG_SND_HDA_I915=n, I get the following warning:
> >
> > sound/pci/hda/hda_intel.c: In function ‘azx_probe_continue’:
> > sound/pci/hda/hda_intel.c:1882:2: warning: label ‘skip_i915’ defined but not used [-Wunused-label]
> > skip_i915:
> > ^
> >
> > Fix this by using 'if (IS_ENABLED())' rather than #ifdef.
> >
> > Signed-off-by: Frans Klaver <frans.klaver@xsens.com>
>
> This was already fixed in the latest tree. Thanks.

Alright, hadn't noticed that.

Thanks,
Frans


\
 
 \ /
  Last update: 2015-06-17 15:21    [W:0.042 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site