]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: intel: sst-haswell-ipc: Remove unused functions
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Sat, 17 Jan 2015 23:38:46 +0000 (00:38 +0100)
committerMark Brown <broonie@kernel.org>
Sun, 8 Feb 2015 03:11:38 +0000 (11:11 +0800)
commit3c91277f9451cd1b0e5adc98ef4058b3178a6ff9
tree571e416159164624aa694b38ca164129ff796f34
parent87e1ffa67a938d8db6134d6301e6e005f77ca59d
ASoC: intel: sst-haswell-ipc: Remove unused functions

Removes some functions that are not used anywhere:
sst_hsw_stream_unmute() sst_hsw_stream_mute() msg_set_stage_type()
sst_hsw_dx_get_state() sst_hsw_stream_set_write_position()
sst_hsw_stream_get_vol_reg() sst_hsw_stream_get_peak_reg()
sst_hsw_stream_get_pointer_reg() sst_hsw_stream_get_read_reg()
sst_hsw_stream_get_mixer_id() sst_hsw_stream_get_hw_id()
sst_hsw_mixer_set_volume_curve() sst_hsw_mixer_unmute()
sst_hsw_mixer_mute() sst_hsw_stream_set_volume_curve()

This was partially found by using a static code analysis program called cppcheck.

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/sst-haswell-ipc.c
sound/soc/intel/sst-haswell-ipc.h