linux_dsm_epyc7002/sound/soc/intel/haswell
Colin Ian King 74a4ce4c8e ASoC: intel: remove unused variable data and associated code
The variable 'data' is assigned null and never re-assigned. There
is also a redundant check for data being non-null which is always
false, so remove this and the variable data and dma_addr as they
are not used once the dead code has been removed.

Detected with CoverityScan, CID#1324015 ("'Constant' variable gaurds
dead code")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Jie Yang <yang.jie@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2017-03-27 12:31:43 +01:00
..
Makefile ASoC: Intel: create haswell folder and move haswell platform files in 2015-04-06 17:49:45 +01:00
sst-haswell-dsp.c ASoC: Intel: constify sst_block_ops structures 2015-11-16 17:38:54 +00:00
sst-haswell-ipc.c ASoC: intel: remove unused variable data and associated code 2017-03-27 12:31:43 +01:00
sst-haswell-ipc.h ASoC: Intel: create haswell folder and move haswell platform files in 2015-04-06 17:49:45 +01:00
sst-haswell-pcm.c ASoC: constify snd_pcm_ops structures 2016-09-12 20:04:09 +01:00