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

2016-12-08 Thread Vinod Koul
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’: >

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

2016-12-08 Thread Vinod Koul
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’: >

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

2016-12-07 Thread Kirtika Ruchandani
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

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

2016-12-07 Thread Kirtika Ruchandani
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