Re: linux-next: build warning after merge of the soundwire tree

From: Vinod Koul
Date: Thu Aug 22 2019 - 09:44:08 EST


On 22-08-19, 16:04, Stephen Rothwell wrote:
> Hi all,
>
> After merging the soundwire tree, today's linux-next build (x86_64
> allmodconfig) produced this warning:
>
> drivers/soundwire/intel.c: In function 'sdw_master_read_intel_prop':
> drivers/soundwire/intel.c:829:12: warning: unused variable 'i' [-Wunused-variable]
> int nval, i;
> ^
> drivers/soundwire/intel.c:829:6: warning: unused variable 'nval' [-Wunused-variable]
> int nval, i;
> ^~~~
>
> Introduced by commit
>
> 085f4ace103d ("soundwire: intel: read mclk_freq property from firmware")

Thanks Stephen for the report. I have fixed it up by removing these.
Posting the patch now

Thanks
--
~Vinod