diff options
| -rw-r--r-- | sound/soc/codecs/wm1250-ev1.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm1250-ev1.c b/sound/soc/codecs/wm1250-ev1.c index 6e6b93d4696e..8011f75fb6cb 100644 --- a/sound/soc/codecs/wm1250-ev1.c +++ b/sound/soc/codecs/wm1250-ev1.c | |||
| @@ -164,7 +164,6 @@ static int wm1250_ev1_pdata(struct i2c_client *i2c) | |||
| 164 | 164 | ||
| 165 | wm1250 = devm_kzalloc(&i2c->dev, sizeof(*wm1250), GFP_KERNEL); | 165 | wm1250 = devm_kzalloc(&i2c->dev, sizeof(*wm1250), GFP_KERNEL); |
| 166 | if (!wm1250) { | 166 | if (!wm1250) { |
| 167 | dev_err(&i2c->dev, "Unable to allocate private data\n"); | ||
| 168 | ret = -ENOMEM; | 167 | ret = -ENOMEM; |
| 169 | goto err; | 168 | goto err; |
| 170 | } | 169 | } |
