dsp: Initialize variable before use

Initialize variable before use in voice driver.

CRs-Fixed: 2209691
Change-Id: I84b51262b5c3cb12ea23372eb7c7109c6ff844b4
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
This commit is contained in:
Vignesh Kulothungan 2018-03-21 14:30:07 -07:00 committed by Gerrit - the friendly Code Review server
parent 52810d665e
commit 13d5a9666a

View file

@ -7903,7 +7903,7 @@ static int voice_alloc_oob_shared_mem(void)
int cnt = 0;
int rc = 0;
size_t len;
void *mem_addr;
void *mem_addr = NULL;
dma_addr_t phys;
int bufsz = BUFFER_BLOCK_SIZE;
int bufcnt = NUM_OF_BUFFERS;