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

Re: [alsa-devel] [PATCH] ASoC: intel: remove unused variable

2016-02-29 Thread Takashi Iwai
On Tue, 01 Mar 2016 06:49:27 +0100, Sudip Mukherjee wrote: > > On Tue, Mar 01, 2016 at 11:59:12AM +0900, Mark Brown wrote: > > On Mon, Feb 29, 2016 at 10:53:46PM +0530, Sudip Mukherjee wrote: > > > The variable cmd_id is only assigned some value and is never used. > > > > > > Signed-off-by: Sudip