diff options
| -rw-r--r-- | sound/soc/soc-core.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 93341deaa4b9..507d251916af 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c | |||
| @@ -4199,7 +4199,6 @@ int snd_soc_of_parse_audio_routing(struct snd_soc_card *card, | |||
| 4199 | dev_err(card->dev, | 4199 | dev_err(card->dev, |
| 4200 | "ASoC: Property '%s' index %d could not be read: %d\n", | 4200 | "ASoC: Property '%s' index %d could not be read: %d\n", |
| 4201 | propname, 2 * i, ret); | 4201 | propname, 2 * i, ret); |
| 4202 | kfree(routes); | ||
| 4203 | return -EINVAL; | 4202 | return -EINVAL; |
| 4204 | } | 4203 | } |
| 4205 | ret = of_property_read_string_index(np, propname, | 4204 | ret = of_property_read_string_index(np, propname, |
| @@ -4208,7 +4207,6 @@ int snd_soc_of_parse_audio_routing(struct snd_soc_card *card, | |||
| 4208 | dev_err(card->dev, | 4207 | dev_err(card->dev, |
| 4209 | "ASoC: Property '%s' index %d could not be read: %d\n", | 4208 | "ASoC: Property '%s' index %d could not be read: %d\n", |
| 4210 | propname, (2 * i) + 1, ret); | 4209 | propname, (2 * i) + 1, ret); |
| 4211 | kfree(routes); | ||
| 4212 | return -EINVAL; | 4210 | return -EINVAL; |
| 4213 | } | 4211 | } |
| 4214 | } | 4212 | } |
