Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1538412

Re: [PATCH] ASoC: Intel: Skylake: remove unused 'runtime' variable

From Vinod Koul <vinod.koul@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH] ASoC: Intel: Skylake: remove unused 'runtime' variable
Date 2016-12-08 11:10 +0100
Message-ID <sM3Oh-4RM-15@gated-at.bofh.it> (permalink)
References <sM0nn-2w4-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Dec 07, 2016 at 10:26:20PM -0800, Kirtika Ruchandani wrote:
> skl_platform_open() defines and sets 'struct snd_pcm_runtime* runtime'
> but does not use it. Compiling with W=1 gives the following warning,
> fix it.
> 
> sound/soc/intel/skylake/skl-pcm.c: In function ‘skl_platform_open’:
> sound/soc/intel/skylake/skl-pcm.c:941:26: warning: variable ‘runtime’ set but not used [-Wunused-but-set-variable]
> 
> This was introduced with the initial driver commit a40e693c7f5e
> ("ASoC: Intel: Add Skylake HDA platform driver").
> This is a harmless warning and is only being fixed to reduce the noise
> with W=1 in the kernel.

Acked-by: Vinod Koul <vinod.koul@intel.com>

-- 
~Vinod

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] ASoC: Intel: Skylake: remove unused 'runtime' variable Kirtika Ruchandani <kirtika@chromium.org> - 2016-12-08 07:30 +0100
  Re: [PATCH] ASoC: Intel: Skylake: remove unused 'runtime' variable Vinod Koul <vinod.koul@intel.com> - 2016-12-08 11:10 +0100

csiph-web