]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: zte: spdif: remove duplicate initialization of dma_data
authorColin Ian King <colin.king@canonical.com>
Mon, 18 Sep 2017 08:56:38 +0000 (09:56 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 19 Sep 2017 11:56:50 +0000 (12:56 +0100)
commit02372119a2e726e4cfce632336c7f8d5baa96673
treecfab21c34a5bebc321769a5d75cd0837f5e8d2f0
parent2018862bdad13479b663e0e9615d7c6fcaa89285
ASoC: zte: spdif: remove duplicate initialization of dma_data

dma_data is being initialized twice, remove the unused first
initialization and use the latter one instead.  Fixed clang warning:

"warning: Value stored to 'dma_data' during its initialization is
never read"

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/zte/zx-spdif.c