[alsa-devel] [PATCH 00/14] ASoC: Compile fixes with W=1

Vinod Koul vinod.koul at intel.com
Thu Dec 8 18:31:23 CET 2016


We seem to have few warnings in ASoC (I have tried only one config today)
when we compile with W=1. So this is first set to fix these warning, which
predominantly are unused but initialized variables. Few instances actually
helped remove a bit more code as well.


Vinod Koul (14):
  ASoC: Intel: Skylake: remove unused 'ret'
  ASoC: Intel: sst: remove unused 'msg_high'
  ASoC: Intel: sst: remove unused 'ops'
  ASoC: topology: remove unused 'err'
  ASoC: hdac_hdmi: remove unused 'dai_map'
  ASoC: max98090: remove superflous check for 'micbias'
  ASoC: AMD: remove unused ‘dma_buffer’
  ASoC: adau17x1: remove unused ‘ret’
  ASoC: max9867: remove unused ‘ret’
  ASoC: pcm3168a: remove unused ‘format’
  ASoC: img: remove unused ‘format’
  ASoC: Intel: sst: remove unused ‘ret_val’
  ASoC: samsung: smdk_wm8580: remove unused ‘bfs’
  ASoC: zx296702-i2s: remove unused ‘format’

 sound/soc/amd/acp-pcm-dma.c                  | 3 ---
 sound/soc/codecs/adau17x1.c                  | 3 +--
 sound/soc/codecs/hdac_hdmi.c                 | 5 -----
 sound/soc/codecs/max98090.c                  | 2 +-
 sound/soc/codecs/max9867.c                   | 5 ++---
 sound/soc/codecs/pcm3168a.c                  | 2 --
 sound/soc/img/img-parallel-out.c             | 2 --
 sound/soc/intel/atom/sst-mfld-platform-pcm.c | 4 ++--
 sound/soc/intel/atom/sst/sst_ipc.c           | 2 --
 sound/soc/intel/atom/sst/sst_stream.c        | 2 --
 sound/soc/intel/skylake/skl-topology.c       | 3 +--
 sound/soc/samsung/smdk_wm8580.c              | 5 +----
 sound/soc/soc-topology.c                     | 4 ++--
 sound/soc/zte/zx296702-i2s.c                 | 5 +----
 14 files changed, 11 insertions(+), 36 deletions(-)

-- 
1.9.1



More information about the Alsa-devel mailing list