Re: [PATCH 1/9] ALSA: asihpi: remove redundant variable max_streams

2018-08-01 Thread Takashi Iwai
On Wed, 01 Aug 2018 12:47:34 +0200, Colin King wrote: > > From: Colin Ian King > > Variable max_streams is being assigned but is never used hence it is > redundant and can be removed. > > Cleans up clang warning: > warning: variable 'max_streams' set but not used [-Wunused-but-set-variable] >

[PATCH 1/9] ALSA: asihpi: remove redundant variable max_streams

2018-08-01 Thread Colin King
From: Colin Ian King Variable max_streams is being assigned but is never used hence it is redundant and can be removed. Cleans up clang warning: warning: variable 'max_streams' set but not used [-Wunused-but-set-variable] Signed-off-by: Colin Ian King --- sound/pci/asihpi/hpi6205.c | 5 -