Merge "ASoC: msm: qdsp6v2: Initialize variables before use"
This commit is contained in:
commit
8ab454448f
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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__);
|
||||
|
|
Loading…
Add table
Reference in a new issue