Re: [alsa-devel] [PATCH] ASoC: intel: remove unused variable data and associated code

2017-03-27 Thread Keyon Jie
On 2017年03月22日 22:36, Colin King wrote: From: Colin Ian King 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

[PATCH] ASoC: intel: remove unused variable data and associated code

2017-03-22 Thread Colin King
From: Colin Ian King 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,