diag: dci: Initialize the stat variable before using it

Initialize the stat variable before using it while sending
notification to dci client.

Change-Id: Ie5f98d0f45a797f4f122d8c4e2bae1a92bf4e7c9
Signed-off-by: Sreelakshmi Gownipalli <sgownipa@codeaurora.org>
This commit is contained in:
Sreelakshmi Gownipalli 2017-02-13 13:51:12 -08:00 committed by Gerrit - the friendly Code Review server
parent 3a7e752617
commit 888ddad8b1

View file

@ -1433,7 +1433,7 @@ void diag_dci_channel_open_work(struct work_struct *work)
void diag_dci_notify_client(int peripheral_mask, int data, int proc)
{
int stat;
int stat = 0;
struct siginfo info;
struct list_head *start, *temp;
struct diag_dci_client_tbl *entry = NULL;