Messages in this thread | | | Date | Wed, 3 Jun 2020 17:07:02 -0700 | From | Nicolin Chen <> | Subject | Re: [PATCH 2/3] ASoC: fsl_easrc: Fix -Wunused-but-set-variable |
| |
On Wed, Jun 03, 2020 at 11:39:40AM +0800, Shengjiu Wang wrote: > Obtained with: > $ make W=1 > > sound/soc/fsl/fsl_easrc.c: In function 'fsl_easrc_set_rs_ratio': > sound/soc/fsl/fsl_easrc.c:182:15: warning: variable 'int_bits' set but not used [-Wunused-but-set-variable] > unsigned int int_bits; > ^ > sound/soc/fsl/fsl_easrc.c: In function 'fsl_easrc_set_ctx_organziation': > sound/soc/fsl/fsl_easrc.c:1204:17: warning: variable 'dev' set but not used [-Wunused-but-set-variable] > struct device *dev; > ^ > sound/soc/fsl/fsl_easrc.c: In function 'fsl_easrc_release_context': > sound/soc/fsl/fsl_easrc.c:1294:17: warning: variable 'dev' set but not used [-Wunused-but-set-variable] > struct device *dev; > ^ > Fixes: 955ac624058f ("ASoC: fsl_easrc: Add EASRC ASoC CPU DAI drivers") > Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> > Reported-by: kbuild test robot <lkp@intel.com>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
| |