ALSA: echoaudio: remove redundant initialization of pointer 'pipe'
authorColin Ian King <colin.king@canonical.com>
Mon, 12 Mar 2018 15:01:00 +0000 (15:01 +0000)
committerTakashi Iwai <tiwai@suse.de>
Mon, 12 Mar 2018 15:05:11 +0000 (16:05 +0100)
commit0bc66fd3b688ae33ac073de7e79ba1223ecc465c
tree5d9474a431d92bc9689e2ea940c6f301a07d7764
parent7a33a02ffb0620b01892c6c6808bb711b3f63e9c
ALSA: echoaudio: remove redundant initialization of pointer 'pipe'

The pointer 'pipe' is being initialized with a value that is never
read and it is re-assigned later, hence the initialization is redundant
and can be removed. Also remove pointer 'runtime' as it is no longer
required.

Cleans up clang warning:
sound/pci/echoaudio/echoaudio.c:740:20: warning: Value stored to 'pipe'
during its initialization is never read

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/echoaudio/echoaudio.c