Re: [PATCH] sound, hda_codec: Fix compilation warnings

From: Takashi Iwai
Date: Fri Jul 22 2011 - 15:25:42 EST


At Fri, 22 Jul 2011 19:40:37 +0200,
Borislav Petkov wrote:
>
> From: Borislav Petkov <borislav.petkov@xxxxxxx>
>
> Convert macro to an inline function to shut up gcc:
>
> sound/pci/hda/patch_sigmatel.c: In function `stac92xx_initÂ:
> sound/pci/hda/patch_sigmatel.c:4385:3: warning: statement with no effect
> sound/pci/hda/patch_sigmatel.c: In function `stac92xx_resumeÂ:
> sound/pci/hda/patch_sigmatel.c:4925:3: warning: statement with no effect
> sound/pci/hda/hda_codec.c: In function `snd_hda_mixer_amp_switch_putÂ:
> sound/pci/hda/patch_realtek.c:4176:2: warning: statement with no effect
> sound/pci/hda/hda_codec.c:2320:2: warning: statement with no effect
> sound/pci/hda/patch_realtek.c: In function `alc_resumeÂ:
> sound/pci/hda/patch_realtek.c:4558:2: warning: statement with no effect
> sound/pci/hda/patch_realtek.c: In function `alc269_resumeÂ:
> sound/pci/hda/patch_realtek.c:14878:2: warning: statement with no effect
>
> Signed-off-by: Borislav Petkov <borislav.petkov@xxxxxxx>

Thanks for the patch, but this was already fixed in sound git tree.


Takashi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/