Merge "ASoC: msm: qdsp6v2: Initialize variables before use"

This commit is contained in:
Linux Build Service Account 2017-04-14 07:30:07 -07:00 committed by Gerrit - the friendly Code Review server
commit 8ab454448f
2 changed files with 2 additions and 2 deletions

View file

@ -114,7 +114,7 @@ int apr_tal_write(struct apr_svc_ch_dev *apr_ch, void *data,
{
int rc = 0, retries = 0;
void *pkt_data = NULL;
struct apr_tx_buf *tx_buf;
struct apr_tx_buf *tx_buf = NULL;
struct apr_pkt_priv *pkt_priv_ptr = pkt_priv;
if (!apr_ch->handle || !pkt_priv)

View file

@ -510,7 +510,7 @@ int audio_notifier_deregister(char *client_name)
int ret = 0;
int ret2;
struct list_head *ptr, *next;
struct client_data *client_data;
struct client_data *client_data = NULL;
if (client_name == NULL) {
pr_err("%s: client_name is NULL\n", __func__);